Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001755/0.001755, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002215/0.002215, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.89 kB / 377.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2498, allocations: 53.41 MB / 431.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004025/0.2539, allocations: 2.708 MB / 433.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2551, allocations: 0.6716 MB / 434.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.2552, allocations: 11.94 kB / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.2554, allocations: 63.36 kB / 434.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.2556, allocations: 87.25 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.2558, allocations: 91.83 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.2562, allocations: 382.8 kB / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.2565, allocations: 112.8 kB / 435.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.2568, allocations: 163.4 kB / 435.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.257, allocations: 131.3 kB / 435.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.257, allocations: 36 kB / 435.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.714e-05/0.2571, allocations: 32 kB / 435.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.2572, allocations: 67.77 kB / 435.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.2573, allocations: 151.4 kB / 435.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.2578, allocations: 394.3 kB / 436.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2578, allocations: 0 / 436.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2578, allocations: 0 / 436.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2578, allocations: 0 / 436.2 MB, free: 1.344 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.0009568/0.2588, allocations: 0.5482 MB / 436.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2588, allocations: 11.98 kB / 436.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.803e-05/0.2589, allocations: 70.72 kB / 436.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.2589, allocations: 40.7 kB / 436.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.2593, allocations: 202.7 kB / 437.1 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.2594, allocations: 25.03 kB / 437.1 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.2594, allocations: 28.38 kB / 437.1 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.26, allocations: 337.6 kB / 437.5 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.26, allocations: 4 kB / 437.5 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.26, allocations: 16.08 kB / 437.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.26, allocations: 8 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.2605, allocations: 206.5 kB / 437.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.2621, allocations: 0.9213 MB / 438.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.2625, allocations: 158.4 kB / 438.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.2627, allocations: 127.5 kB / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.2628, allocations: 12 kB / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2628, allocations: 30.56 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.2628, allocations: 0 / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006265/0.2634, allocations: 221.7 kB / 439.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.2635, allocations: 59.34 kB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.2637, allocations: 219.1 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.2637, allocations: 25.7 kB / 439.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.2639, allocations: 196.4 kB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.264, allocations: 75.39 kB / 439.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.264, allocations: 49.98 kB / 439.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2642, allocations: 330.8 kB / 440.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.2644, allocations: 68.52 kB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.2646, allocations: 151 kB / 440.3 MB, free: 13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.265, allocations: 229.1 kB / 440.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.265, allocations: 0 / 440.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005043/0.2655, allocations: 269.2 kB / 440.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2655, allocations: 8 kB / 440.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2655, allocations: 4 kB / 440.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2655, allocations: 4 kB / 440.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.2658, allocations: 71.89 kB / 440.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.2659, allocations: 7.938 kB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.266, allocations: 35.77 kB / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.266, allocations: 8.188 kB / 440.9 MB, free: 12.34 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.0001497/0.2662, allocations: 150.6 kB / 441.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.2662, allocations: 27.8 kB / 441.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004213/0.2667, allocations: 194.7 kB / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2667, allocations: 4 kB / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2667, allocations: 0 / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2667, allocations: 0 / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.2675, allocations: 0.5653 MB / 441.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2675, allocations: 4 kB / 441.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.2678, allocations: 55.97 kB / 441.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2678, allocations: 3.938 kB / 441.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2678, allocations: 4 kB / 441.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2678, allocations: 0 / 441.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2678, allocations: 4 kB / 441.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.2685, allocations: 392 kB / 442.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.2685, allocations: 15.86 kB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.2686, allocations: 8.062 kB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.2687, allocations: 15.98 kB / 442.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.2688, allocations: 19.91 kB / 442.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.2688, allocations: 8 kB / 442.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.269, allocations: 156.6 kB / 442.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.269, allocations: 0 / 442.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.2693, allocations: 79.78 kB / 442.6 MB, free: 10.56 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.001134/0.2705, allocations: 0.9095 MB / 443.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.271, allocations: 167.9 kB / 443.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.271, allocations: 4 kB / 443.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.2712, allocations: 83.8 kB / 443.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.2715, allocations: 28.59 kB / 443.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.2754, allocations: 2.818 MB / 446.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.2756, allocations: 163.5 kB / 446.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.98e-05/0.2757, allocations: 21.94 kB / 446.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.2759, allocations: 87.41 kB / 446.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2759, allocations: 0 / 446.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.31, allocations: 5.308 MB / 452.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.26, allocations: 10.72 kB / 452.2 MB, free: 0.9141 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.947697840631008]