Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002338/0.002338, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 43.94 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2583, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005542/0.2638, allocations: 3.727 MB / 427.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.2668, allocations: 1.448 MB / 428.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.2671, allocations: 8 kB / 428.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.2691, allocations: 0.77 MB / 429.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.2704, allocations: 0.5392 MB / 429.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009541/0.2714, allocations: 434.8 kB / 430.3 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006126/0.272, allocations: 462 kB / 430.8 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007335/0.2727, allocations: 431 kB / 431.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.2731, allocations: 215.3 kB / 431.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.2734, allocations: 274.9 kB / 431.7 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.2735, allocations: 44 kB / 431.7 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.274, allocations: 219.8 kB / 431.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2741, allocations: 107.6 kB / 432.1 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.2743, allocations: 238.8 kB / 432.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009094/0.2752, allocations: 0.6888 MB / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2752, allocations: 0 / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2752, allocations: 0 / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.2752, allocations: 0 / 433 MB, free: 5.02 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002198/0.2774, allocations: 0.8564 MB / 433.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2775, allocations: 8.031 kB / 433.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.788e-05/0.2775, allocations: 17.5 kB / 433.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.2776, allocations: 104 kB / 434 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/0.281, allocations: 492.1 kB / 434.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.2815, allocations: 257.8 kB / 434.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.2816, allocations: 45.67 kB / 434.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/0.2816, allocations: 56.12 kB / 434.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009999/0.2826, allocations: 0.5336 MB / 435.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.2827, allocations: 7.953 kB / 435.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.2827, allocations: 24 kB / 435.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.2827, allocations: 15.98 kB / 435.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.2839, allocations: 0.5829 MB / 436 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.2869, allocations: 1.743 MB / 437.7 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.2885, allocations: 0.5652 MB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/0.289, allocations: 246 kB / 438.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.823e-05/0.2891, allocations: 12.44 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.2891, allocations: 35 kB / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 3.005e-06/0.2891, allocations: 0 / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004415/0.2936, allocations: 1.723 MB / 440.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.2936, allocations: 64.06 kB / 440.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.2938, allocations: 174.3 kB / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.2939, allocations: 37.7 kB / 440.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.294, allocations: 232.9 kB / 440.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.2942, allocations: 226.1 kB / 441 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.2944, allocations: 102.3 kB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2946, allocations: 338.8 kB / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.295, allocations: 217.2 kB / 441.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.2956, allocations: 323.6 kB / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2966, allocations: 0.5516 MB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2966, allocations: 0 / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001635/0.2983, allocations: 0.7642 MB / 443.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.2983, allocations: 8 kB / 443.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2983, allocations: 4 kB / 443.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.2989, allocations: 165.6 kB / 443.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.2994, allocations: 115.8 kB / 443.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/0.3033, allocations: 3.412 MB / 447 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.3037, allocations: 23.98 kB / 447 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.3037, allocations: 24 kB / 447 MB, free: 6.441 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 (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.0002614/0.304, allocations: 185.7 kB / 447.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.3041, allocations: 35.73 kB / 447.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.3058, allocations: 0.7798 MB / 448 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3058, allocations: 8 kB / 448 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3058, allocations: 4 kB / 448 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.3059, allocations: 11.97 kB / 448 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.3085, allocations: 1.476 MB / 449.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3086, allocations: 4 kB / 449.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.309, allocations: 95.88 kB / 449.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/0.3095, allocations: 178 kB / 449.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.3096, allocations: 16 kB / 449.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.3134, allocations: 3.4 MB / 453.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3134, allocations: 3.938 kB / 453.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.3158, allocations: 1.136 MB / 454.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.3158, allocations: 27.83 kB / 454.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/0.3159, allocations: 12.06 kB / 454.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.3163, allocations: 35.92 kB / 454.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.3164, allocations: 56.55 kB / 454.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.3165, allocations: 16 kB / 454.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.3166, allocations: 136.2 kB / 454.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3166, allocations: 0 / 454.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006741/0.3173, allocations: 155.9 kB / 454.8 MB, free: 14.34 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.002817/0.3201, allocations: 1.723 MB / 456.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.322, allocations: 0.8734 MB / 457.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.322, allocations: 0.5625 kB / 457.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.3231, allocations: 0.5946 MB / 457.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3235, allocations: 45.58 kB / 458 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007391/0.3309, allocations: 4.196 MB / 462.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.3315, allocations: 0.8296 MB / 463 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002536/0.3317, allocations: 63.25 kB / 463.1 MB, free: 5.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.332, allocations: 151.4 kB / 463.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.332, allocations: 0 / 463.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04545/0.3774, allocations: 10.34 MB / 473.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.95, allocations: 23.19 kB / 473.6 MB, free: 11.4 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.352886911015958]