Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 110.5 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001637, allocations: 191 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 47.94 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1042, allocations: 46.63 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.2231/0.3273, allocations: 5.327 MB / 380 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.3314, allocations: 1.475 MB / 381.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007996/0.3323, allocations: 30.62 kB / 381.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.3329, allocations: 215.9 kB / 381.7 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006962/0.3336, allocations: 192.4 kB / 381.9 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.3347, allocations: 402 kB / 382.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.3363, allocations: 1.124 MB / 383.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007708/0.3371, allocations: 485.3 kB / 383.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.3377, allocations: 399 kB / 384.3 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.3382, allocations: 432.3 kB / 384.7 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.3383, allocations: 83.81 kB / 384.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.3385, allocations: 96.8 kB / 384.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.3387, allocations: 212.1 kB / 385.1 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.3391, allocations: 0.4962 MB / 385.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.3404, allocations: 1.173 MB / 386.8 MB, free: 7.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3404, allocations: 0 / 386.8 MB, free: 7.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3404, allocations: 4 kB / 386.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.403e-05/0.3405, allocations: 0 / 386.8 MB, free: 7.047 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001898/0.3424, allocations: 1.299 MB / 388.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3424, allocations: 13.62 kB / 388.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.3426, allocations: 157 kB / 388.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.3428, allocations: 127.2 kB / 388.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3439, allocations: 0.6473 MB / 389 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.344, allocations: 81.06 kB / 389.1 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3441, allocations: 102.2 kB / 389.2 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.3458, allocations: 1.026 MB / 390.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.3458, allocations: 10.41 kB / 390.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.3459, allocations: 44.36 kB / 390.3 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.3459, allocations: 30.34 kB / 390.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.347, allocations: 0.5506 MB / 390.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/0.3512, allocations: 5.486 MB / 396.3 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/0.3518, allocations: 240.4 kB / 396.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.3521, allocations: 152.4 kB / 396.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.3523, allocations: 97.86 kB / 396.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.3523, allocations: 39.88 kB / 396.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.424e-06/0.3524, allocations: 2.219 kB / 396.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004111/0.3565, allocations: 1.706 MB / 398.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.3565, allocations: 90.36 kB / 398.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.3574, allocations: 0.6317 MB / 399.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.3574, allocations: 32.45 kB / 399.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.3579, allocations: 0.6007 MB / 399.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.358, allocations: 142.7 kB / 400 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.3582, allocations: 142.2 kB / 400.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3584, allocations: 384.9 kB / 400.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.3588, allocations: 154.5 kB / 400.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.3593, allocations: 498.8 kB / 401.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009227/0.3603, allocations: 0.6923 MB / 401.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.3603, allocations: 11.69 kB / 401.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001166/0.3615, allocations: 0.71 MB / 402.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3615, allocations: 9.625 kB / 402.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.3615, allocations: 12.62 kB / 402.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.3616, allocations: 16.84 kB / 402.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.3622, allocations: 207.6 kB / 402.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/0.3623, allocations: 27 kB / 402.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.3627, allocations: 32.86 kB / 402.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.3627, allocations: 37.3 kB / 402.9 MB, free: 11.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0003201/0.363, allocations: 230.4 kB / 403.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.3632, allocations: 78.72 kB / 403.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.3633, allocations: 77.48 kB / 403.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3633, allocations: 8.625 kB / 403.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.3633, allocations: 5.281 kB / 403.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3633, allocations: 1.875 kB / 403.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.3655, allocations: 1.311 MB / 404.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3655, allocations: 2.75 kB / 404.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.3659, allocations: 101 kB / 404.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.366, allocations: 9.484 kB / 404.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.366, allocations: 8.438 kB / 404.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.366, allocations: 5.688 kB / 404.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.366, allocations: 10.81 kB / 404.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3671, allocations: 0.7019 MB / 405.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.3673, allocations: 141.7 kB / 405.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.3673, allocations: 9.125 kB / 405.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.3676, allocations: 29.66 kB / 405.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.3677, allocations: 30.7 kB / 405.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.3678, allocations: 11.14 kB / 405.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005138/0.3683, allocations: 424.2 kB / 406.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3683, allocations: 0 / 406.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007442/0.369, allocations: 136.5 kB / 406.2 MB, free: 9.848 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.001313/0.3704, allocations: 1.259 MB / 407.5 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009001/0.3713, allocations: 432.7 kB / 407.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3713, allocations: 1.156 kB / 407.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.3716, allocations: 153.1 kB / 408.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/0.3723, allocations: 84.47 kB / 408.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3827, allocations: 6.108 MB / 414.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/0.3835, allocations: 1.007 MB / 415.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003804/0.3839, allocations: 91.83 kB / 415.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005601/0.3845, allocations: 393 kB / 415.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3845, allocations: 0 / 415.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/0.5163, allocations: 11.79 MB / 427.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.61, allocations: 15.91 kB / 427.6 MB, free: 8.477 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches