Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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.001548/0.001548, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00188/0.00188, allocations: 213 kB / 23.73 MB, free: 4.164 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2491, allocations: 53.4 MB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005467/0.2545, allocations: 3.407 MB / 434.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.2573, allocations: 1.398 MB / 435.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.2575, allocations: 12 kB / 436 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.2593, allocations: 0.6883 MB / 436.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000938/0.2603, allocations: 384.9 kB / 437 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.2614, allocations: 0.5244 MB / 437.5 MB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005867/0.262, allocations: 462 kB / 438 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007312/0.2627, allocations: 430 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.2631, allocations: 223.2 kB / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.2634, allocations: 235 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.71e-05/0.2635, allocations: 44 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.2639, allocations: 215.7 kB / 439.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.264, allocations: 103.7 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.2642, allocations: 199 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009119/0.2651, allocations: 0.7122 MB / 440.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2651, allocations: 0 / 440.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.2651, allocations: 0 / 440.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.2651, allocations: 0 / 440.1 MB, free: 13.46 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002216/0.2673, allocations: 0.8486 MB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2674, allocations: 11.98 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.2675, allocations: 104 kB / 441.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/0.271, allocations: 472.2 kB / 441.5 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.2715, allocations: 253.8 kB / 441.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.2715, allocations: 37.69 kB / 441.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.2716, allocations: 56.33 kB / 441.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.2727, allocations: 0.5665 MB / 442.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.2727, allocations: 0 / 442.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.2727, allocations: 20 kB / 442.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.2728, allocations: 12 kB / 442.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.2739, allocations: 0.579 MB / 443.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.2772, allocations: 1.595 MB / 444.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.2787, allocations: 0.5451 MB / 445.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.2792, allocations: 230.1 kB / 445.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.97e-05/0.2793, allocations: 16.42 kB / 445.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.2793, allocations: 46.92 kB / 445.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.743e-06/0.2793, allocations: 0 / 445.5 MB, free: 7.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001836/0.2811, allocations: 0.6674 MB / 446.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2812, allocations: 59.78 kB / 446.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.2814, allocations: 191 kB / 446.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.2814, allocations: 33.7 kB / 446.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.2816, allocations: 229 kB / 446.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.2817, allocations: 166.5 kB / 446.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.2819, allocations: 94.12 kB / 446.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2821, allocations: 334.8 kB / 447.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.2824, allocations: 156.9 kB / 447.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.2828, allocations: 245.9 kB / 447.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/0.2835, allocations: 416.9 kB / 448 MB, free: 5.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2835, allocations: 0 / 448 MB, free: 5.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001173/0.2847, allocations: 0.5319 MB / 448.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2847, allocations: 8 kB / 448.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2847, allocations: 0 / 448.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003536/0.2851, allocations: 88.73 kB / 448.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.2855, allocations: 91.83 kB / 448.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.2875, allocations: 1.655 MB / 450.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.2878, allocations: 55.61 kB / 450.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.2878, allocations: 16 kB / 450.5 MB, free: 2.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.288, allocations: 169.8 kB / 450.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.2881, allocations: 27.84 kB / 450.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.2893, allocations: 0.5395 MB / 451.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.2893, allocations: 4 kB / 451.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.2893, allocations: 7.938 kB / 451.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.2893, allocations: 3.984 kB / 451.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.2912, allocations: 1.053 MB / 452.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2912, allocations: 0 / 452.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.2915, allocations: 75.89 kB / 452.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002733/0.2918, allocations: 88.84 kB / 452.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.2918, allocations: 11.94 kB / 452.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.2937, allocations: 1.655 MB / 454.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2937, allocations: 0 / 454.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.2951, allocations: 0.7992 MB / 454.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.2952, allocations: 31.72 kB / 454.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.2952, allocations: 15.98 kB / 455 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.2955, allocations: 12 kB / 455 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.2955, allocations: 52.27 kB / 455 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.2956, allocations: 16.06 kB / 455 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.2957, allocations: 139.2 kB / 455.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2957, allocations: 0 / 455.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005151/0.2962, allocations: 155.5 kB / 455.3 MB, free: 13.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001905/0.2981, allocations: 1.374 MB / 456.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2992, allocations: 0.5503 MB / 457.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2992, allocations: 0 / 457.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006126/0.2999, allocations: 353.6 kB / 457.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3002, allocations: 46.61 kB / 457.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/0.3054, allocations: 3.464 MB / 461.1 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.3056, allocations: 200.8 kB / 461.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.3058, allocations: 46.95 kB / 461.3 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.306, allocations: 139.4 kB / 461.5 MB, free: 7.238 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.306, allocations: 4 kB / 461.5 MB, free: 7.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/0.3502, allocations: 8.391 MB / 469.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12, allocations: 15.44 kB / 469.9 MB, free: 14.97 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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.385394917335361]