Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 112.4 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 204.9 kB / 21.46 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.2 MB / 254.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.89 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.108, allocations: 53.31 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004528/0.1125, allocations: 2.927 MB / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1139, allocations: 0.7089 MB / 430.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.114, allocations: 8 kB / 430.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.1142, allocations: 63.36 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1144, allocations: 87.2 kB / 430.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1147, allocations: 87.88 kB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.1151, allocations: 386.8 kB / 430.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.1154, allocations: 120.5 kB / 431 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.1157, allocations: 155.5 kB / 431.2 MB, free: 444 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.1159, allocations: 159.2 kB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.1159, allocations: 32 kB / 431.4 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.116e-05/0.116, allocations: 36 kB / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.1161, allocations: 75.75 kB / 431.5 MB, free: 140 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2291/0.3451, allocations: 165.9 kB / 431.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000564/0.3457, allocations: 388.2 kB / 432 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3457, allocations: 0.7812 kB / 432 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3457, allocations: 0 / 432 MB, free: 7.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3457, allocations: 0.875 kB / 432 MB, free: 7.945 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009117/0.3466, allocations: 0.624 MB / 432.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3467, allocations: 10.03 kB / 432.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/0.3467, allocations: 70.92 kB / 432.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.3468, allocations: 38.58 kB / 432.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.3471, allocations: 273.1 kB / 433 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.3472, allocations: 22.94 kB / 433.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.3472, allocations: 33.66 kB / 433.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.3477, allocations: 281.5 kB / 433.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3477, allocations: 3.812 kB / 433.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.3478, allocations: 14.78 kB / 433.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3478, allocations: 7.594 kB / 433.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.3482, allocations: 216.2 kB / 433.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.3495, allocations: 1.027 MB / 434.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.3498, allocations: 148.6 kB / 434.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3501, allocations: 122.6 kB / 434.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3501, allocations: 10.83 kB / 434.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3501, allocations: 40.31 kB / 435 MB, free: 6.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.3501, allocations: 2.156 kB / 435 MB, free: 6.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005497/0.3507, allocations: 219.8 kB / 435.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3507, allocations: 57.22 kB / 435.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.3509, allocations: 215.7 kB / 435.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3509, allocations: 28.89 kB / 435.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.351, allocations: 192.1 kB / 435.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.351, allocations: 83.05 kB / 435.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.3511, allocations: 49.19 kB / 435.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.3512, allocations: 334.3 kB / 436.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.3513, allocations: 67.61 kB / 436.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.3515, allocations: 144.1 kB / 436.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.3519, allocations: 223.4 kB / 436.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3519, allocations: 0.6562 kB / 436.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004711/0.3523, allocations: 278.1 kB / 436.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3523, allocations: 9.484 kB / 436.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3524, allocations: 3.125 kB / 436.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3524, allocations: 4.469 kB / 436.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.3527, allocations: 73.19 kB / 436.9 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3527, allocations: 10.25 kB / 436.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3528, allocations: 29.91 kB / 436.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3529, allocations: 10.22 kB / 436.9 MB, free: 5.621 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.353, allocations: 148.8 kB / 437.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.353, allocations: 27.55 kB / 437.1 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.3534, allocations: 198.5 kB / 437.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3534, allocations: 8.719 kB / 437.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3534, allocations: 1 kB / 437.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3534, allocations: 1.359 kB / 437.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007396/0.3542, allocations: 0.5954 MB / 437.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.3542, allocations: 2.031 kB / 437.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.3544, allocations: 58.97 kB / 438 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.3545, allocations: 4.625 kB / 438 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.3545, allocations: 5.484 kB / 438 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3545, allocations: 3.016 kB / 438 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3545, allocations: 3.938 kB / 438 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.355, allocations: 378.4 kB / 438.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.3551, allocations: 104.2 kB / 438.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.3551, allocations: 2.562 kB / 438.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.3553, allocations: 17.55 kB / 438.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.3553, allocations: 18.19 kB / 438.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.3553, allocations: 5.031 kB / 438.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.3555, allocations: 158 kB / 438.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3555, allocations: 3.562 kB / 438.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000362/0.3558, allocations: 78.91 kB / 438.7 MB, free: 4.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007248/0.3565, allocations: 0.907 MB / 439.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.357, allocations: 171.8 kB / 439.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.357, allocations: 0 / 439.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.3571, allocations: 80.91 kB / 439.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3575, allocations: 34.59 kB / 439.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.3605, allocations: 2.833 MB / 442.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3607, allocations: 0.768 MB / 443.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.3608, allocations: 26.22 kB / 443.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3609, allocations: 91.66 kB / 443.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3609, allocations: 1.25 kB / 443.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.3905, allocations: 4.67 MB / 448.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.692, allocations: 9.281 kB / 448.3 MB, free: 0.707 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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: 11.421018905937672]