Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 47.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2597, allocations: 53.36 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007163/0.2668, allocations: 5.135 MB / 436.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.2706, allocations: 1.862 MB / 438.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.2713, allocations: 16 kB / 438.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003061/0.2744, allocations: 1.186 MB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.2763, allocations: 0.6326 MB / 440 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.2779, allocations: 0.614 MB / 440.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.2792, allocations: 0.7544 MB / 441.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.2804, allocations: 0.5358 MB / 441.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007182/0.2811, allocations: 338.7 kB / 442.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007672/0.2819, allocations: 422.3 kB / 442.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.282, allocations: 64 kB / 442.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.2827, allocations: 259.8 kB / 442.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.2829, allocations: 167.3 kB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.2833, allocations: 374.1 kB / 443.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.2846, allocations: 1.031 MB / 444.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2846, allocations: 0 / 444.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2846, allocations: 0 / 444.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2846, allocations: 0 / 444.5 MB, free: 9.48 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.00385/0.2885, allocations: 1.324 MB / 445.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2885, allocations: 11.97 kB / 445.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/0.2887, allocations: 135 kB / 446 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005661/0.2944, allocations: 0.777 MB / 446.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.2951, allocations: 358.6 kB / 447.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.2952, allocations: 62.38 kB / 447.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.2953, allocations: 87.88 kB / 447.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.2968, allocations: 0.7687 MB / 448 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.2968, allocations: 3.953 kB / 448 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/0.2969, allocations: 32 kB / 448 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.2969, allocations: 20 kB / 448.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.2985, allocations: 0.9058 MB / 449 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/0.3028, allocations: 2.521 MB / 451.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3047, allocations: 0.775 MB / 452.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.3052, allocations: 295.1 kB / 452.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.3053, allocations: 32.61 kB / 452.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.3053, allocations: 39.22 kB / 452.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.474e-06/0.3054, allocations: 0 / 452.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003596/0.3089, allocations: 1.263 MB / 453.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.309, allocations: 60.06 kB / 453.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.3093, allocations: 288.2 kB / 454.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.3094, allocations: 37.7 kB / 454.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.3096, allocations: 304.6 kB / 454.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.3098, allocations: 261.7 kB / 454.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.31, allocations: 126.6 kB / 454.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3102, allocations: 358.7 kB / 455.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.3107, allocations: 233.9 kB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.3112, allocations: 362.5 kB / 455.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.3124, allocations: 0.6297 MB / 456.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3124, allocations: 0 / 456.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001953/0.3143, allocations: 0.8646 MB / 457.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3144, allocations: 4 kB / 457.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3144, allocations: 8.219 kB / 457.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008315/0.3152, allocations: 212.5 kB / 457.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.3158, allocations: 135.7 kB / 457.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004064/0.3198, allocations: 2.615 MB / 460.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.3205, allocations: 63.45 kB / 460.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.3206, allocations: 31.98 kB / 460.4 MB, free: 9.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004805/0.3211, allocations: 197.7 kB / 460.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.3213, allocations: 51.67 kB / 460.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.3242, allocations: 0.8897 MB / 461.6 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.3242, allocations: 11.94 kB / 461.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.3243, allocations: 4 kB / 461.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.3243, allocations: 3.984 kB / 461.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/0.3286, allocations: 1.663 MB / 463.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3286, allocations: 0 / 463.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.3291, allocations: 115.8 kB / 463.4 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007548/0.3299, allocations: 204.7 kB / 463.6 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.33, allocations: 12 kB / 463.6 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/0.3337, allocations: 2.605 MB / 466.2 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3337, allocations: 4 kB / 466.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.3362, allocations: 1.261 MB / 467.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3363, allocations: 63.55 kB / 467.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.3364, allocations: 12 kB / 467.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.3367, allocations: 27.92 kB / 467.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3369, allocations: 56.55 kB / 467.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.3369, allocations: 23.98 kB / 467.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002382/0.3371, allocations: 215.1 kB / 467.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3371, allocations: 0 / 467.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008147/0.338, allocations: 235.5 kB / 468.1 MB, free: 1.258 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003059/0.341, allocations: 1.842 MB / 469.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.3427, allocations: 0.8046 MB / 470.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3427, allocations: 0 / 470.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009207/0.3436, allocations: 0.5183 MB / 471.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.3441, allocations: 64.92 kB / 471.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008701/0.3528, allocations: 5.063 MB / 476.3 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.3535, allocations: 0.893 MB / 477.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000282/0.3537, allocations: 76.53 kB / 477.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.3541, allocations: 231.3 kB / 477.5 MB, free: 7.516 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3541, allocations: 0 / 477.5 MB, free: 7.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07021/0.4243, allocations: 13.07 MB / 490.6 MB, free: 10.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.75, allocations: 18.53 kB / 490.6 MB, free: 10.59 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.6461570719257]