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.001152/0.001153, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001164/0.001164, allocations: 183 kB / 18.66 MB, free: 4.418 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.462/1.462, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001447/0.001447, allocations: 55.92 kB / 328 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.2482/0.3624, allocations: 5.344 MB / 380 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004109/0.3666, allocations: 1.469 MB / 381.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.3677, allocations: 25.34 kB / 381.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.3687, allocations: 220.1 kB / 381.7 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.3702, allocations: 192.5 kB / 381.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.3717, allocations: 396 kB / 382.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.3738, allocations: 1.129 MB / 383.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.3751, allocations: 482.7 kB / 383.9 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.3762, allocations: 398.9 kB / 384.3 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.3774, allocations: 431.5 kB / 384.7 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003981/0.3778, allocations: 83.91 kB / 384.8 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.3783, allocations: 96.97 kB / 384.9 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.3786, allocations: 221.2 kB / 385.1 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008331/0.3795, allocations: 0.4888 MB / 385.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.3811, allocations: 1.175 MB / 386.8 MB, free: 7.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3811, allocations: 3.938 kB / 386.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3811, allocations: 1.75 kB / 386.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000108/0.3812, allocations: 0 / 386.8 MB, free: 7.055 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.002966/0.3842, allocations: 1.302 MB / 388.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.3843, allocations: 10.25 kB / 388.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001924/0.3845, allocations: 152.4 kB / 388.2 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.3847, allocations: 127.4 kB / 388.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.3861, allocations: 0.654 MB / 389 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.3862, allocations: 80.59 kB / 389.1 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.3863, allocations: 100.2 kB / 389.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.3883, allocations: 1.027 MB / 390.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.3884, allocations: 6.922 kB / 390.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.3885, allocations: 44.28 kB / 390.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.3885, allocations: 26.69 kB / 390.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.3898, allocations: 0.5587 MB / 390.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004511/0.3944, allocations: 5.489 MB / 396.3 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.395, allocations: 235.5 kB / 396.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.3954, allocations: 152.7 kB / 396.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.3956, allocations: 88.97 kB / 396.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.3956, allocations: 45.48 kB / 396.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.285e-06/0.3956, allocations: 0 / 396.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00434/0.4, allocations: 1.703 MB / 398.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.4001, allocations: 89.17 kB / 398.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.4009, allocations: 0.6368 MB / 399.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.401, allocations: 36.05 kB / 399.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.4014, allocations: 0.6007 MB / 399.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.4016, allocations: 146.3 kB / 400 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.4018, allocations: 138.1 kB / 400.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.402, allocations: 385.2 kB / 400.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.4023, allocations: 152.3 kB / 400.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.4029, allocations: 0.4931 MB / 401.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009339/0.4038, allocations: 0.6967 MB / 401.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.4038, allocations: 4 kB / 401.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001251/0.4051, allocations: 0.7099 MB / 402.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.4051, allocations: 10.19 kB / 402.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.4051, allocations: 11.38 kB / 402.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.4052, allocations: 22.27 kB / 402.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.4059, allocations: 193.9 kB / 402.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/0.4059, allocations: 27.56 kB / 402.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.4064, allocations: 32.17 kB / 402.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.4064, allocations: 41.19 kB / 402.9 MB, free: 11.71 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.0003781/0.4068, allocations: 230.9 kB / 403.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.407, allocations: 79.3 kB / 403.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.4071, allocations: 73.23 kB / 403.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.4071, allocations: 8.062 kB / 403.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.4071, allocations: 1.375 kB / 403.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4072, allocations: 6.094 kB / 403.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.4097, allocations: 1.323 MB / 404.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.4097, allocations: 2.625 kB / 404.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.4102, allocations: 104 kB / 404.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.4103, allocations: 7.5 kB / 404.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.4103, allocations: 12.69 kB / 404.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.4103, allocations: 3.25 kB / 404.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.4103, allocations: 7.625 kB / 404.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.4114, allocations: 0.7016 MB / 405.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.4116, allocations: 137.2 kB / 405.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.4117, allocations: 17.12 kB / 405.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.412, allocations: 25.59 kB / 405.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.4121, allocations: 30.31 kB / 405.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.4122, allocations: 16.05 kB / 405.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005889/0.4128, allocations: 419.5 kB / 406.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4128, allocations: 0 / 406.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008384/0.4136, allocations: 137.5 kB / 406.3 MB, free: 9.855 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.001412/0.415, allocations: 1.257 MB / 407.5 MB, free: 8.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009693/0.416, allocations: 431 kB / 407.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.416, allocations: 0.75 kB / 407.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.4163, allocations: 161 kB / 408.1 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.417, allocations: 75.14 kB / 408.2 MB, free: 8.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009939/0.427, allocations: 6.109 MB / 414.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.4276, allocations: 1.01 MB / 415.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003059/0.4279, allocations: 92.16 kB / 415.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.4284, allocations: 390.8 kB / 415.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4284, allocations: 0 / 415.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.4647, allocations: 11.79 MB / 427.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.808/9.272, allocations: 7.844 kB / 427.5 MB, free: 8.5 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