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.001315/0.001315, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001401/0.001401, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.001904/0.001904, allocations: 63.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.245, allocations: 53.4 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004877/0.2499, allocations: 2.94 MB / 434.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2514, allocations: 0.7166 MB / 434.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.2517, allocations: 7.938 kB / 434.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.252, allocations: 63.42 kB / 434.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.2523, allocations: 87.2 kB / 435 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.2526, allocations: 99.75 kB / 435.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.2532, allocations: 382.8 kB / 435.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.2535, allocations: 120.8 kB / 435.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.2538, allocations: 155.5 kB / 435.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.2541, allocations: 159.2 kB / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.2541, allocations: 32 kB / 435.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.2542, allocations: 36 kB / 436 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.2543, allocations: 79.75 kB / 436 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.2544, allocations: 167.2 kB / 436.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.2549, allocations: 386.8 kB / 436.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2549, allocations: 4 kB / 436.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2549, allocations: 0 / 436.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.2549, allocations: 0 / 436.6 MB, free: 1.285 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.001099/0.256, allocations: 0.5443 MB / 437.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2561, allocations: 12.03 kB / 437.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.521e-05/0.2562, allocations: 66.72 kB / 437.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.302e-05/0.2563, allocations: 40.7 kB / 437.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.2567, allocations: 206.7 kB / 437.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.2567, allocations: 32.95 kB / 437.5 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.2568, allocations: 36.38 kB / 437.5 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.2573, allocations: 282.2 kB / 437.8 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2573, allocations: 0 / 437.8 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.2574, allocations: 15.98 kB / 437.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.2574, allocations: 8 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.2579, allocations: 214.5 kB / 438 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.2597, allocations: 0.976 MB / 439 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.26, allocations: 158.5 kB / 439.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.2603, allocations: 131.8 kB / 439.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2603, allocations: 3.953 kB / 439.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.2604, allocations: 42.56 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.2604, allocations: 0 / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006895/0.2611, allocations: 221.4 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.2611, allocations: 55.41 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.2614, allocations: 212.2 kB / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.2614, allocations: 33.64 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.2615, allocations: 192.4 kB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.05e-05/0.2616, allocations: 83.31 kB / 440.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.2617, allocations: 49.98 kB / 440.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2618, allocations: 330.8 kB / 440.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.262, allocations: 68.52 kB / 440.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.2623, allocations: 147 kB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.2627, allocations: 225.1 kB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.2627, allocations: 4 kB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005546/0.2632, allocations: 277.1 kB / 441.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2632, allocations: 4 kB / 441.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2633, allocations: 4 kB / 441.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2633, allocations: 4 kB / 441.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.2636, allocations: 71.89 kB / 441.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.2636, allocations: 7.938 kB / 441.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.2638, allocations: 32.03 kB / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.2638, allocations: 19.97 kB / 441.3 MB, free: 12.26 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.0001504/0.2639, allocations: 141.8 kB / 441.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.264, allocations: 23.8 kB / 441.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.2644, allocations: 198.7 kB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2644, allocations: 4 kB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2644, allocations: 4 kB / 441.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.2645, allocations: 0 / 441.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008964/0.2653, allocations: 0.577 MB / 442.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2654, allocations: 0 / 442.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.2656, allocations: 55.97 kB / 442.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2656, allocations: 0 / 442.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2657, allocations: 12.05 kB / 442.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2657, allocations: 0 / 442.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.2657, allocations: 7.984 kB / 442.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.2663, allocations: 380 kB / 442.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.2663, allocations: 31.86 kB / 442.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.2664, allocations: 4 kB / 442.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.2665, allocations: 15.98 kB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.2666, allocations: 15.97 kB / 442.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2666, allocations: 8.062 kB / 442.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.2668, allocations: 159.5 kB / 442.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2668, allocations: 4 kB / 442.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.2671, allocations: 75.78 kB / 443 MB, free: 10.47 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.001003/0.2681, allocations: 0.9212 MB / 443.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.2686, allocations: 163.8 kB / 444.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2686, allocations: 0 / 444.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.2687, allocations: 72.53 kB / 444.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.2691, allocations: 37.25 kB / 444.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.273, allocations: 2.828 MB / 447 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.2734, allocations: 0.7675 MB / 447.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.2735, allocations: 21.95 kB / 447.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.2736, allocations: 91.41 kB / 447.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2736, allocations: 0 / 447.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.3098, allocations: 4.924 MB / 452.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.37, allocations: 3.984 kB / 452.8 MB, free: 0.5664 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: 14.001217504963279]