Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 214.6 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 51.91 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2519, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004183/0.256, allocations: 2.945 MB / 434.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2573, allocations: 0.7205 MB / 434.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.2575, allocations: 8 kB / 434.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.2577, allocations: 63.36 kB / 434.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.2578, allocations: 87.19 kB / 435 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.2581, allocations: 87.83 kB / 435.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.2585, allocations: 382.8 kB / 435.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.2587, allocations: 128.8 kB / 435.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.259, allocations: 155.5 kB / 435.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.2592, allocations: 167.2 kB / 435.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.2593, allocations: 32 kB / 435.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.412e-05/0.2593, allocations: 32 kB / 435.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.2594, allocations: 71.77 kB / 436 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.2596, allocations: 167.2 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.26, allocations: 390.7 kB / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.26, allocations: 3.984 kB / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.26, allocations: 0 / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.26, allocations: 8 kB / 436.6 MB, free: 1.422 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.0009131/0.2609, allocations: 0.5365 MB / 437.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.2609, allocations: 16.02 kB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.261, allocations: 66.73 kB / 437.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.2611, allocations: 40.7 kB / 437.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.2614, allocations: 206.7 kB / 437.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.2615, allocations: 28.97 kB / 437.4 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.2615, allocations: 28.38 kB / 437.5 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.262, allocations: 286.2 kB / 437.7 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.262, allocations: 0 / 437.7 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.2621, allocations: 20 kB / 437.8 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2621, allocations: 8 kB / 437.8 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.2626, allocations: 218.4 kB / 438 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.2641, allocations: 0.9721 MB / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.2644, allocations: 152.3 kB / 439.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.2647, allocations: 136.7 kB / 439.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2647, allocations: 0 / 439.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.2647, allocations: 30.56 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.2647, allocations: 4 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005756/0.2653, allocations: 228.8 kB / 439.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.2654, allocations: 55.41 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.2656, allocations: 223.1 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.2656, allocations: 25.7 kB / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.2657, allocations: 196.4 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.2658, allocations: 79.36 kB / 440.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.2659, allocations: 49.98 kB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.266, allocations: 334.8 kB / 440.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.2662, allocations: 68.52 kB / 440.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.2664, allocations: 151.3 kB / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.2668, allocations: 229.2 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2668, allocations: 0 / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004862/0.2673, allocations: 269.1 kB / 441.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2673, allocations: 8 kB / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2673, allocations: 8.25 kB / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2673, allocations: 4 kB / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.2676, allocations: 71.89 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2676, allocations: 7.938 kB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.2678, allocations: 35.77 kB / 441.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2678, allocations: 8 kB / 441.3 MB, free: 12.41 MB / 350.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.0001362/0.2679, allocations: 142.4 kB / 441.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.268, allocations: 31.8 kB / 441.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.2684, allocations: 194.2 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2684, allocations: 4.047 kB / 441.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2684, allocations: 3.984 kB / 441.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2684, allocations: 3.984 kB / 441.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008725/0.2693, allocations: 0.577 MB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2693, allocations: 0 / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.2696, allocations: 55.97 kB / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2696, allocations: 0 / 442.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.2696, allocations: 8 kB / 442.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2696, allocations: 0 / 442.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2696, allocations: 3.938 kB / 442.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.2702, allocations: 373.4 kB / 442.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.2703, allocations: 27.86 kB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.2703, allocations: 4 kB / 442.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.2705, allocations: 15.98 kB / 442.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.2705, allocations: 19.97 kB / 442.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.2705, allocations: 7.938 kB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.2707, allocations: 164.5 kB / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2707, allocations: 0 / 442.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.271, allocations: 83.72 kB / 443 MB, free: 10.62 MB / 350.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.0009264/0.272, allocations: 0.9071 MB / 443.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.2724, allocations: 174.8 kB / 444.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2724, allocations: 0 / 444.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2725, allocations: 79.83 kB / 444.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.2729, allocations: 36.8 kB / 444.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.2768, allocations: 2.818 MB / 447 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.2772, allocations: 0.7675 MB / 447.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.873e-05/0.2773, allocations: 21.95 kB / 447.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.2775, allocations: 95.39 kB / 447.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2775, allocations: 0 / 447.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.3123, allocations: 4.932 MB / 452.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.28, allocations: 7.938 kB / 452.8 MB, free: 0.7383 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.982616188004613]