Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance",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.001885/0.001885, allocations: 104.7 kB / 17.06 MB, free: 6.012 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.002321/0.002321, allocations: 196 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.881/2.881, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 39.94 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7921, allocations: 49.45 MB / 400.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.01261/0.8048, allocations: 2.878 MB / 403.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.8078, allocations: 0.6777 MB / 403.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000721/0.8086, allocations: 11.94 kB / 403.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005998/0.8093, allocations: 55.44 kB / 403.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000836/0.8102, allocations: 83.2 kB / 403.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.811, allocations: 103.7 kB / 404.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.8124, allocations: 378.9 kB / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000731/0.8131, allocations: 164.5 kB / 404.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.8138, allocations: 147.5 kB / 404.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.8143, allocations: 155.3 kB / 404.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.8145, allocations: 35.94 kB / 404.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.8147, allocations: 36 kB / 404.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.8149, allocations: 71.77 kB / 405 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.8154, allocations: 175.2 kB / 405.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007889/0.8162, allocations: 388.3 kB / 405.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.8162, allocations: 4 kB / 405.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.8162, allocations: 0 / 405.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.8163, allocations: 0 / 405.6 MB, free: 3.512 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001952/0.8182, allocations: 0.6199 MB / 406.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.678e-05/0.8183, allocations: 12.03 kB / 406.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.8185, allocations: 70.72 kB / 406.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.8186, allocations: 36.56 kB / 406.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007434/0.8194, allocations: 259.7 kB / 406.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.8194, allocations: 25.03 kB / 406.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.8195, allocations: 32.38 kB / 406.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/0.8205, allocations: 294.1 kB / 406.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.8205, allocations: 0 / 406.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.8206, allocations: 8 kB / 406.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.8206, allocations: 8 kB / 406.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.8214, allocations: 214.5 kB / 407.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.8244, allocations: 1.018 MB / 408.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.825, allocations: 162.5 kB / 408.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005152/0.8256, allocations: 128.7 kB / 408.4 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.8256, allocations: 4 kB / 408.4 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.8257, allocations: 34.56 kB / 408.5 MB, free: 420 kB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 5.2e-06/0.8257, allocations: 0 / 408.5 MB, free: 420 kB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001066/0.8268, allocations: 239.9 kB / 408.7 MB, free: 176 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.8268, allocations: 55.34 kB / 408.8 MB, free: 108 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.8273, allocations: 211.2 kB / 409 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.8273, allocations: 29.7 kB / 409 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.8276, allocations: 196 kB / 409.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.8277, allocations: 66.92 kB / 409.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.8279, allocations: 53.98 kB / 409.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.8281, allocations: 334.8 kB / 409.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.8284, allocations: 72.45 kB / 409.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.8288, allocations: 139.3 kB / 409.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006823/0.8295, allocations: 237.2 kB / 410.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8296, allocations: 0 / 410.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000897/0.8305, allocations: 277.2 kB / 410.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.8305, allocations: 8 kB / 410.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8305, allocations: 0 / 410.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/0.8306, allocations: 4 kB / 410.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.8311, allocations: 71.89 kB / 410.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/0.8311, allocations: 4 kB / 410.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.8315, allocations: 31.77 kB / 410.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.8315, allocations: 12 kB / 410.5 MB, free: 14.29 MB / 334.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.0002995/0.8319, allocations: 145.8 kB / 410.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.832, allocations: 27.66 kB / 410.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007765/0.8328, allocations: 201 kB / 410.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.8328, allocations: 4 kB / 410.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.8328, allocations: 0 / 410.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.8328, allocations: 3.984 kB / 410.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.8345, allocations: 0.5936 MB / 411.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.8345, allocations: 4 kB / 411.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.835, allocations: 51.91 kB / 411.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.835, allocations: 4 kB / 411.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.8351, allocations: 8 kB / 411.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.8351, allocations: 7.984 kB / 411.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.8351, allocations: 0 / 411.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.8362, allocations: 384.3 kB / 411.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.8364, allocations: 96.77 kB / 412 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.758e-05/0.8364, allocations: 12.05 kB / 412 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.8368, allocations: 19.98 kB / 412 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.8369, allocations: 11.98 kB / 412 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.8369, allocations: 8 kB / 412 MB, free: 12.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.8372, allocations: 156.6 kB / 412.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8372, allocations: 0 / 412.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007234/0.838, allocations: 79.69 kB / 412.3 MB, free: 12.37 MB / 334.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.001615/0.8396, allocations: 0.9128 MB / 413.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007565/0.8404, allocations: 179.8 kB / 413.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.8404, allocations: 0 / 413.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.8407, allocations: 75.91 kB / 413.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.8414, allocations: 37.81 kB / 413.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.8525, allocations: 2.823 MB / 416.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.8531, allocations: 0.7713 MB / 417.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.8533, allocations: 21.95 kB / 417.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.8536, allocations: 91.41 kB / 417.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of SimCode: time 1.442e-06/0.8536, allocations: 0 / 417.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/0.9616, allocations: 4.703 MB / 421.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.72/20.68, allocations: 14.25 kB / 421.9 MB, free: 2.668 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches