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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.000868, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8828/0.8828, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.519e-05, allocations: 2.281 kB / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002584/0.00261, allocations: 2.671 MB / 321.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008063/0.003416, allocations: 0.6582 MB / 321.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.003532, allocations: 4 kB / 321.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.003679, allocations: 67.31 kB / 321.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.003796, allocations: 83.14 kB / 321.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.00401, allocations: 99.78 kB / 322 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.004268, allocations: 398.7 kB / 322.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.004457, allocations: 116.8 kB / 322.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.004658, allocations: 227.5 kB / 322.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.004763, allocations: 103.7 kB / 322.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.004802, allocations: 36 kB / 322.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.862e-05/0.00483, allocations: 32 kB / 322.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/0.004873, allocations: 75.73 kB / 323 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.014e-05/0.004953, allocations: 119.7 kB / 323.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.005221, allocations: 398.6 kB / 323.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.005223, allocations: 0 / 323.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005225, allocations: 4 kB / 323.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.005229, allocations: 0 / 323.5 MB, free: 1.254 MB / 282.7 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.0005937/0.005823, allocations: 0.5443 MB / 324 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.005858, allocations: 12.92 kB / 324.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.005915, allocations: 74.72 kB / 324.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.005962, allocations: 36.7 kB / 324.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.006196, allocations: 209.2 kB / 324.4 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.006213, allocations: 21.03 kB / 324.4 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.006248, allocations: 32.38 kB / 324.4 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.006601, allocations: 330 kB / 324.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.00661, allocations: 192 / 324.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.006632, allocations: 20.12 kB / 324.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.006639, allocations: 12 kB / 324.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.00707, allocations: 214.4 kB / 325 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009422/0.008012, allocations: 0.9067 MB / 325.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.008223, allocations: 150.5 kB / 326 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.008386, allocations: 116.8 kB / 326.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.008401, allocations: 4 kB / 326.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.008422, allocations: 42.48 kB / 326.2 MB, free: 14.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.072e-06/0.008423, allocations: 8 kB / 326.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003374/0.00876, allocations: 225.6 kB / 326.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.008784, allocations: 51.41 kB / 326.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.008924, allocations: 223.1 kB / 326.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.008939, allocations: 29.7 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.009017, allocations: 200.3 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.009053, allocations: 75.38 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.009103, allocations: 53.92 kB / 327.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.009181, allocations: 330.8 kB / 327.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.435e-05/0.009275, allocations: 68.52 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.009399, allocations: 147.3 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.009618, allocations: 225.2 kB / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.009621, allocations: 4 kB / 327.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002889/0.00991, allocations: 265.4 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.009922, allocations: 11.97 kB / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.009929, allocations: 4 kB / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.009942, allocations: 4 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.0101, allocations: 75.83 kB / 328.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01011, allocations: 7.938 kB / 328.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.01018, allocations: 31.77 kB / 328.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.0102, allocations: 12 kB / 328.2 MB, free: 12.24 MB / 298.7 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 8.105e-05/0.01028, allocations: 141.8 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.0103, allocations: 23.86 kB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.01054, allocations: 202.5 kB / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01054, allocations: 3.938 kB / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.01054, allocations: 0 / 328.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01055, allocations: 7.922 kB / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.01103, allocations: 0.5497 MB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01103, allocations: 4.062 kB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.01117, allocations: 51.97 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01118, allocations: 8 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01119, allocations: 4 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01119, allocations: 4 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01119, allocations: 3.938 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.01153, allocations: 376.6 kB / 329.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.01155, allocations: 27.91 kB / 329.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.01157, allocations: 0 / 329.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.01165, allocations: 19.98 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.01169, allocations: 15.97 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.0117, allocations: 4 kB / 329.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.107e-05/0.01179, allocations: 160.6 kB / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01179, allocations: 3.938 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.012, allocations: 71.84 kB / 329.9 MB, free: 10.49 MB / 298.7 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.0004876/0.01248, allocations: 0.9173 MB / 330.8 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.01271, allocations: 168.2 kB / 331 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01272, allocations: 4 kB / 331 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.01282, allocations: 84.39 kB / 331 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01304, allocations: 27.64 kB / 331.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.01515, allocations: 2.689 MB / 333.8 MB, free: 6.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.101e-05/0.01524, allocations: 159.5 kB / 333.9 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.0153, allocations: 17.95 kB / 333.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.01538, allocations: 92.47 kB / 334 MB, free: 6.137 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01538, allocations: 0 / 334 MB, free: 6.137 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.03384, allocations: 5.441 MB / 339.5 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.139, allocations: 7.938 kB / 339.5 MB, free: 0.8438 MB / 298.7 MB " [Timeout remaining time 653] (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 --stepSize=0.0001 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.929385243915021]