Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.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.001369/0.001369, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001411/0.001411, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.379/1.379, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 51.92 kB / 378.5 MB, free: 3.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2378, allocations: 53.36 MB / 431.9 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004913/0.2427, allocations: 3.398 MB / 435.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.2452, allocations: 1.39 MB / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.2454, allocations: 11.94 kB / 436.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.2471, allocations: 0.688 MB / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008831/0.2479, allocations: 394 kB / 437.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2489, allocations: 0.5165 MB / 438.3 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.2494, allocations: 462 kB / 438.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006624/0.2501, allocations: 438.8 kB / 439.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.2504, allocations: 223.2 kB / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.2508, allocations: 274.9 kB / 439.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/0.2508, allocations: 44 kB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.2512, allocations: 207.9 kB / 439.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.611e-05/0.2513, allocations: 115.5 kB / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.2515, allocations: 195.1 kB / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008365/0.2523, allocations: 0.7044 MB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2523, allocations: 0 / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2523, allocations: 0 / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.2524, allocations: 0 / 440.9 MB, free: 13.62 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.00205/0.2544, allocations: 0.8589 MB / 441.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2544, allocations: 12.03 kB / 441.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.871e-05/0.2545, allocations: 13.5 kB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.2546, allocations: 108 kB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.258, allocations: 468.2 kB / 442.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.2584, allocations: 249.9 kB / 442.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.2585, allocations: 37.69 kB / 442.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.974e-05/0.2586, allocations: 64.08 kB / 442.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2596, allocations: 0.5626 MB / 443.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.2596, allocations: 11.98 kB / 443.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.2597, allocations: 23.94 kB / 443.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2597, allocations: 12 kB / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.2608, allocations: 0.5868 MB / 443.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.2636, allocations: 1.618 MB / 445.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.265, allocations: 0.5697 MB / 446 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004735/0.2655, allocations: 245.1 kB / 446.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.912e-05/0.2656, allocations: 20.42 kB / 446.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.2656, allocations: 46.92 kB / 446.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.114e-06/0.2656, allocations: 0 / 446.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00423/0.2698, allocations: 1.719 MB / 448.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2699, allocations: 60.06 kB / 448.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.2701, allocations: 186.2 kB / 448.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.2701, allocations: 37.7 kB / 448.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2703, allocations: 225 kB / 448.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.2705, allocations: 222 kB / 448.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.2706, allocations: 106.3 kB / 448.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2708, allocations: 334.8 kB / 449.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.2713, allocations: 229.2 kB / 449.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.2718, allocations: 311.7 kB / 449.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009978/0.2728, allocations: 0.5555 MB / 450.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2728, allocations: 4 kB / 450.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001583/0.2744, allocations: 0.7639 MB / 451.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.2744, allocations: 12.28 kB / 451.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2744, allocations: 0 / 451.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.275, allocations: 169.5 kB / 451.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.2755, allocations: 119.9 kB / 451.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.2792, allocations: 3.376 MB / 454.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.2795, allocations: 31.92 kB / 454.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.2796, allocations: 24 kB / 454.8 MB, free: 15.16 MB / 366.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 (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002478/0.2798, allocations: 173.8 kB / 455 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.2799, allocations: 31.88 kB / 455 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.2817, allocations: 0.7874 MB / 455.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2817, allocations: 8 kB / 455.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2817, allocations: 3.938 kB / 455.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.2817, allocations: 7.984 kB / 455.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.2842, allocations: 1.398 MB / 457.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2842, allocations: 0 / 457.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.2846, allocations: 99.88 kB / 457.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.2852, allocations: 182 kB / 457.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.2852, allocations: 12 kB / 457.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.2888, allocations: 3.368 MB / 460.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2888, allocations: 480 / 460.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.2909, allocations: 1.136 MB / 462 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.291, allocations: 39.72 kB / 462 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.2911, allocations: 12 kB / 462 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.2914, allocations: 35.98 kB / 462.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.2915, allocations: 60.48 kB / 462.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.2916, allocations: 16 kB / 462.1 MB, free: 7.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.2917, allocations: 140.2 kB / 462.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2917, allocations: 0 / 462.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005875/0.2923, allocations: 152 kB / 462.4 MB, free: 7.168 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 (53): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (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.002581/0.2949, allocations: 1.723 MB / 464.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.2966, allocations: 0.8618 MB / 465 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2966, allocations: 0 / 465 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.2976, allocations: 0.5991 MB / 465.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.298, allocations: 35.94 kB / 465.7 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/0.3046, allocations: 4.225 MB / 469.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.3048, allocations: 222.6 kB / 470.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.3051, allocations: 55.27 kB / 470.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.3053, allocations: 155.4 kB / 470.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3053, allocations: 4 kB / 470.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04062/0.3459, allocations: 10.6 MB / 480.9 MB, free: 4.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.97, allocations: 14.22 kB / 480.9 MB, free: 4.613 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.310412418912165]