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.001245/0.001245, allocations: 112.2 kB / 21.22 MB, free: 0.7422 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.001328/0.001328, allocations: 213.1 kB / 24.53 MB, free: 4.129 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.373/1.373, allocations: 230.6 MB / 258.3 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.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.00151/0.00151, allocations: 43.94 kB / 378.6 MB, free: 3.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2325, allocations: 53.36 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005119/0.2376, allocations: 3.752 MB / 435.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.2401, allocations: 1.518 MB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.2402, allocations: 8 kB / 437.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.2419, allocations: 0.7506 MB / 438 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00081/0.2427, allocations: 404.9 kB / 438.4 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.2438, allocations: 0.552 MB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000506/0.2443, allocations: 470 kB / 439.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006494/0.2449, allocations: 430.4 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.2452, allocations: 231.1 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.2456, allocations: 271 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.2456, allocations: 44 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.246, allocations: 211.8 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-05/0.2461, allocations: 111.6 kB / 440.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.2463, allocations: 238.8 kB / 440.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008123/0.2471, allocations: 0.7082 MB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2471, allocations: 0 / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2471, allocations: 4 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.2471, allocations: 0 / 441.6 MB, free: 13.18 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.00204/0.2492, allocations: 0.8525 MB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2492, allocations: 8.031 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.188e-05/0.2493, allocations: 21.44 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.2494, allocations: 95.97 kB / 442.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.2527, allocations: 476.2 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.2532, allocations: 249.9 kB / 443.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.2533, allocations: 41.69 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2534, allocations: 64.08 kB / 443.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009935/0.2544, allocations: 0.5374 MB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2544, allocations: 0 / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.2544, allocations: 28 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.2544, allocations: 12 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2555, allocations: 0.5868 MB / 444.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.2585, allocations: 1.754 MB / 446.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.26, allocations: 0.5853 MB / 446.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/0.2605, allocations: 236.1 kB / 447.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.054e-05/0.2605, allocations: 24.41 kB / 447.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.2606, allocations: 39 kB / 447.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.094e-06/0.2606, allocations: 0 / 447.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004283/0.2649, allocations: 1.723 MB / 448.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.2649, allocations: 60.06 kB / 448.9 MB, free: 5.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.2651, allocations: 190.2 kB / 449.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.2651, allocations: 33.7 kB / 449.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.2653, allocations: 221 kB / 449.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.2655, allocations: 234 kB / 449.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.2656, allocations: 102.3 kB / 449.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2658, allocations: 334.8 kB / 450 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.2663, allocations: 225.2 kB / 450.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.2668, allocations: 315.6 kB / 450.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.2678, allocations: 0.5594 MB / 451.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2678, allocations: 4 kB / 451.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001601/0.2694, allocations: 0.768 MB / 451.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2694, allocations: 8 kB / 451.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2694, allocations: 4.062 kB / 451.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.2701, allocations: 169.5 kB / 452.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.2706, allocations: 119.9 kB / 452.2 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/0.2744, allocations: 3.403 MB / 455.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.2747, allocations: 31.94 kB / 455.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.2748, allocations: 27.98 kB / 455.6 MB, free: 14.57 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.0002348/0.275, allocations: 169.8 kB / 455.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.2751, allocations: 31.81 kB / 455.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.2768, allocations: 0.7992 MB / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.2768, allocations: 8 kB / 456.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2768, allocations: 4 kB / 456.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2768, allocations: 0 / 456.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.2794, allocations: 1.472 MB / 458.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2794, allocations: 0 / 458.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.2798, allocations: 103.9 kB / 458.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000607/0.2804, allocations: 173.5 kB / 458.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.2804, allocations: 16 kB / 458.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003666/0.2841, allocations: 3.4 MB / 461.8 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2841, allocations: 3.938 kB / 461.8 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.2863, allocations: 1.14 MB / 463 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.2863, allocations: 35.73 kB / 463 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.2864, allocations: 15.98 kB / 463 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.2867, allocations: 27.92 kB / 463 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.2869, allocations: 60.48 kB / 463.1 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.2869, allocations: 24.06 kB / 463.1 MB, free: 6.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.287, allocations: 132.2 kB / 463.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.287, allocations: 0 / 463.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006426/0.2877, allocations: 156 kB / 463.4 MB, free: 6.469 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.002621/0.2903, allocations: 1.727 MB / 465.1 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.2921, allocations: 0.8735 MB / 466 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2921, allocations: 0 / 466 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.2931, allocations: 0.5952 MB / 466.6 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.2936, allocations: 35.94 kB / 466.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/0.3003, allocations: 4.197 MB / 470.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.3008, allocations: 0.8336 MB / 471.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.3011, allocations: 51.27 kB / 471.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.3013, allocations: 163.4 kB / 471.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3013, allocations: 3.938 kB / 471.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/0.3403, allocations: 10.44 MB / 482.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.71, allocations: 15.67 kB / 482.3 MB, free: 3.438 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.073001882992685]