Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_0_0_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.001263/0.001263, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001306/0.001306, allocations: 193.4 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 47.92 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3242, allocations: 49.45 MB / 400.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007189/0.3314, allocations: 5.375 MB / 405.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.3342, allocations: 1.426 MB / 407.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.3346, allocations: 23.88 kB / 407.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.3351, allocations: 217.8 kB / 407.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.3356, allocations: 198 kB / 407.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/0.3364, allocations: 391.4 kB / 407.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.3376, allocations: 1.126 MB / 409 MB, free: 4 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007315/0.3384, allocations: 476.2 kB / 409.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.3389, allocations: 406.2 kB / 409.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.3394, allocations: 437.5 kB / 410.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.3395, allocations: 83.94 kB / 410.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.3397, allocations: 92 kB / 410.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.3399, allocations: 215.1 kB / 410.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.3404, allocations: 0.501 MB / 411.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.3417, allocations: 1.173 MB / 412.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3417, allocations: 0 / 412.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3418, allocations: 0 / 412.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.3418, allocations: 0 / 412.4 MB, free: 12.62 MB / 334.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.002033/0.3438, allocations: 1.347 MB / 413.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3439, allocations: 8.031 kB / 413.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.3441, allocations: 152.2 kB / 413.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.3442, allocations: 139.2 kB / 414 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.3453, allocations: 0.6504 MB / 414.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/0.3454, allocations: 81.92 kB / 414.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.3455, allocations: 96 kB / 414.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.3473, allocations: 1.034 MB / 415.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.3473, allocations: 7.938 kB / 415.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/0.3474, allocations: 47.94 kB / 415.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.3474, allocations: 24 kB / 415.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.3486, allocations: 0.5578 MB / 416.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005642/0.3542, allocations: 5.494 MB / 422 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.3548, allocations: 236.9 kB / 422.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.3552, allocations: 165.6 kB / 422.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.3554, allocations: 85.11 kB / 422.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.3554, allocations: 46.55 kB / 422.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.3554, allocations: 0 / 422.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00417/0.3596, allocations: 1.723 MB / 424.2 MB, free: 88 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.3597, allocations: 92.98 kB / 424.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.3605, allocations: 0.6334 MB / 425 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.3605, allocations: 37.7 kB / 425 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000499/0.361, allocations: 0.6122 MB / 425.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.3612, allocations: 158.7 kB / 425.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.3614, allocations: 134.6 kB / 425.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.3616, allocations: 386.8 kB / 426.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.3619, allocations: 149.9 kB / 426.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/0.3626, allocations: 0.4894 MB / 426.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.3636, allocations: 0.7056 MB / 427.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.3636, allocations: 4 kB / 427.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001342/0.365, allocations: 0.7084 MB / 428.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.365, allocations: 8 kB / 428.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.3651, allocations: 12 kB / 428.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.322e-05/0.3651, allocations: 24.05 kB / 428.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.3658, allocations: 203.6 kB / 428.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.248e-05/0.3658, allocations: 23.92 kB / 428.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.3662, allocations: 39.91 kB / 428.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.3662, allocations: 36 kB / 428.7 MB, free: 11.27 MB / 350.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.0003149/0.3666, allocations: 229.5 kB / 428.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3667, allocations: 79.48 kB / 429 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.3668, allocations: 74.53 kB / 429 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.3668, allocations: 7.938 kB / 429 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3669, allocations: 4 kB / 429 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3669, allocations: 0 / 429 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.3691, allocations: 1.313 MB / 430.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.3691, allocations: 4 kB / 430.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.3696, allocations: 112 kB / 430.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.3696, allocations: 7.938 kB / 430.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.3696, allocations: 11.98 kB / 430.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3696, allocations: 0 / 430.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3696, allocations: 4 kB / 430.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3707, allocations: 0.6974 MB / 431.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.3708, allocations: 140.6 kB / 431.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.3709, allocations: 20.03 kB / 431.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.3712, allocations: 23.98 kB / 431.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.3713, allocations: 27.97 kB / 431.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.3713, allocations: 15.98 kB / 431.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004991/0.3718, allocations: 419 kB / 431.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3718, allocations: 0 / 431.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006576/0.3725, allocations: 136 kB / 432 MB, free: 7.836 MB / 350.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.001401/0.3739, allocations: 1.262 MB / 433.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008417/0.3748, allocations: 449 kB / 433.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3748, allocations: 4.625 kB / 433.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.3751, allocations: 151.8 kB / 433.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.3756, allocations: 74.05 kB / 433.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008574/0.3842, allocations: 6.134 MB / 440 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007439/0.385, allocations: 1.004 MB / 441 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.3853, allocations: 90 kB / 441.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/0.3858, allocations: 395.3 kB / 441.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3858, allocations: 0 / 441.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.423, allocations: 11.66 MB / 453.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.778/9.201, allocations: 3.75 kB / 453.2 MB, free: 2.215 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches