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.001885/0.001885, allocations: 112 kB / 20.43 MB, free: 1.309 MB / 14.72 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.002691/0.002691, allocations: 189.3 kB / 23.72 MB, free: 4.559 MB / 14.72 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 1.422/1.422, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001615/0.001615, allocations: 47.92 kB / 370.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.233, allocations: 52.19 MB / 422.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004489/0.2375, allocations: 2.912 MB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2388, allocations: 0.6777 MB / 426.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.239, allocations: 11.94 kB / 426.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.2392, allocations: 59.42 kB / 426.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.2394, allocations: 91.19 kB / 426.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.2397, allocations: 95.77 kB / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.2402, allocations: 386.8 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.2405, allocations: 124.8 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.2408, allocations: 155.5 kB / 427.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.241, allocations: 163.2 kB / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.241, allocations: 32 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.095e-05/0.2411, allocations: 32 kB / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.2412, allocations: 75.77 kB / 427.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.2413, allocations: 167.2 kB / 427.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.2418, allocations: 387 kB / 428 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2418, allocations: 4 kB / 428 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2418, allocations: 0 / 428 MB, free: 9.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2418, allocations: 0 / 428 MB, free: 9.512 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009736/0.2428, allocations: 0.5482 MB / 428.5 MB, free: 8.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2428, allocations: 12.03 kB / 428.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.181e-05/0.2429, allocations: 70.72 kB / 428.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.243, allocations: 40.7 kB / 428.6 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.2433, allocations: 202 kB / 428.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.2434, allocations: 21.03 kB / 428.9 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.2434, allocations: 40.33 kB / 428.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.2439, allocations: 286.1 kB / 429.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.244, allocations: 4 kB / 429.2 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.244, allocations: 8 kB / 429.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.244, allocations: 12 kB / 429.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.2444, allocations: 214.5 kB / 429.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.246, allocations: 0.972 MB / 430.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.2464, allocations: 154 kB / 430.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.2466, allocations: 124.7 kB / 430.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2467, allocations: 0 / 430.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.2467, allocations: 38.56 kB / 430.7 MB, free: 6.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.102e-06/0.2467, allocations: 3.938 kB / 430.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006357/0.2473, allocations: 224.3 kB / 430.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2474, allocations: 59.34 kB / 431 MB, free: 6.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.2476, allocations: 215.1 kB / 431.2 MB, free: 6.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.2476, allocations: 33.64 kB / 431.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.2477, allocations: 196.4 kB / 431.4 MB, free: 5.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.2478, allocations: 75.38 kB / 431.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.2479, allocations: 53.94 kB / 431.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.248, allocations: 330.8 kB / 431.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.2482, allocations: 68.52 kB / 431.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.2484, allocations: 155.2 kB / 432.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.2488, allocations: 221.3 kB / 432.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2488, allocations: 0 / 432.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004996/0.2493, allocations: 281 kB / 432.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2493, allocations: 4 kB / 432.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.2493, allocations: 4.047 kB / 432.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.2494, allocations: 8.234 kB / 432.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.2497, allocations: 71.89 kB / 432.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2497, allocations: 4 kB / 432.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.2498, allocations: 35.77 kB / 432.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.2499, allocations: 12 kB / 432.7 MB, free: 4.492 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.0001366/0.25, allocations: 141.7 kB / 432.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.25, allocations: 23.84 kB / 432.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004294/0.2505, allocations: 205.3 kB / 433.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2505, allocations: 4 kB / 433.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2505, allocations: 0 / 433.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2505, allocations: 0 / 433.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008536/0.2513, allocations: 0.5731 MB / 433.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2513, allocations: 4.062 kB / 433.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.2516, allocations: 59.91 kB / 433.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2516, allocations: 0 / 433.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2516, allocations: 4 kB / 433.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2516, allocations: 0 / 433.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2516, allocations: 0 / 433.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.2522, allocations: 387.3 kB / 434.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.2523, allocations: 27.86 kB / 434.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.2523, allocations: 0 / 434.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2525, allocations: 19.98 kB / 434.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.2526, allocations: 15.97 kB / 434.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2526, allocations: 8 kB / 434.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.2527, allocations: 164.5 kB / 434.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2527, allocations: 0 / 434.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.2531, allocations: 75.78 kB / 434.4 MB, free: 2.707 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.0009227/0.254, allocations: 0.9068 MB / 435.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004219/0.2544, allocations: 176.2 kB / 435.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2544, allocations: 4 kB / 435.5 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.2546, allocations: 71.91 kB / 435.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2549, allocations: 44.28 kB / 435.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.2587, allocations: 2.829 MB / 438.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.259, allocations: 0.7713 MB / 439.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.755e-05/0.2591, allocations: 17.95 kB / 439.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.2593, allocations: 91.41 kB / 439.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2593, allocations: 0 / 439.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.2934, allocations: 4.93 MB / 444.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.31, allocations: 7.375 kB / 444.2 MB, free: 8.816 MB / 350.1 MB " [Timeout remaining time 649] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.94337861193344]