Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001277/0.001277, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001405/0.001405, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 47.92 kB / 378.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2541, allocations: 53.37 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004873/0.259, allocations: 3.392 MB / 435.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.2613, allocations: 1.39 MB / 436.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.2614, allocations: 12 kB / 436.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.2632, allocations: 0.6922 MB / 437.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008108/0.264, allocations: 382 kB / 437.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009549/0.2649, allocations: 0.5232 MB / 438.2 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000472/0.2654, allocations: 461.9 kB / 438.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005387/0.2659, allocations: 362 kB / 439.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.2662, allocations: 219.2 kB / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.2665, allocations: 267 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.2666, allocations: 44 kB / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.267, allocations: 207.8 kB / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2671, allocations: 107.5 kB / 439.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.2673, allocations: 187.1 kB / 440.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007948/0.268, allocations: 0.6888 MB / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.268, allocations: 0 / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2681, allocations: 0 / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2681, allocations: 0 / 440.7 MB, free: 13.73 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.002021/0.2701, allocations: 0.8466 MB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2701, allocations: 12.03 kB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.436e-05/0.2702, allocations: 21.42 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.2703, allocations: 104 kB / 441.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003352/0.2737, allocations: 468.1 kB / 442.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.2741, allocations: 253.8 kB / 442.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.2741, allocations: 41.69 kB / 442.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.2742, allocations: 56.12 kB / 442.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/0.2752, allocations: 0.5509 MB / 443.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.2753, allocations: 4 kB / 443.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.2753, allocations: 20 kB / 443.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.2753, allocations: 15.98 kB / 443.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.2764, allocations: 0.579 MB / 443.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.2792, allocations: 1.604 MB / 445.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.2807, allocations: 0.5825 MB / 445.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.281, allocations: 202.1 kB / 446.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.64e-05/0.2811, allocations: 20.42 kB / 446.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.2811, allocations: 46.94 kB / 446.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.853e-06/0.2811, allocations: 0 / 446.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004581/0.2857, allocations: 1.813 MB / 448 MB, free: 6.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.2858, allocations: 60.06 kB / 448 MB, free: 6.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.286, allocations: 186.2 kB / 448.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.286, allocations: 37.7 kB / 448.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.2862, allocations: 229 kB / 448.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.2864, allocations: 226 kB / 448.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.2865, allocations: 114.3 kB / 448.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2867, allocations: 342.8 kB / 449.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.2872, allocations: 221.2 kB / 449.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.2877, allocations: 305.9 kB / 449.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009868/0.2887, allocations: 0.5545 MB / 450.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2887, allocations: 0 / 450.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001618/0.2903, allocations: 0.7797 MB / 451 MB, free: 3.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2903, allocations: 11.94 kB / 451 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2903, allocations: 4 kB / 451 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006558/0.291, allocations: 185.5 kB / 451.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.2915, allocations: 115.9 kB / 451.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.2956, allocations: 3.903 MB / 455.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.296, allocations: 28.02 kB / 455.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.296, allocations: 23.98 kB / 455.2 MB, free: 14.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (59): * Single equations (assignments): 57 * 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,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.2963, allocations: 182.2 kB / 455.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.2963, allocations: 31.81 kB / 455.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.2981, allocations: 0.807 MB / 456.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.2981, allocations: 12 kB / 456.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.2981, allocations: 7.938 kB / 456.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.2981, allocations: 3.984 kB / 456.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.3006, allocations: 1.435 MB / 457.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3006, allocations: 3.938 kB / 457.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/0.301, allocations: 107.8 kB / 457.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/0.3016, allocations: 169.6 kB / 458 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.3016, allocations: 16 kB / 458 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003672/0.3053, allocations: 3.636 MB / 461.6 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3053, allocations: 0 / 461.6 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.3075, allocations: 1.149 MB / 462.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.3075, allocations: 31.78 kB / 462.8 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.3076, allocations: 12 kB / 462.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.3079, allocations: 31.98 kB / 462.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.308, allocations: 52.61 kB / 462.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.308, allocations: 20 kB / 462.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3081, allocations: 140.4 kB / 463.1 MB, free: 6.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3081, allocations: 0 / 463.1 MB, free: 6.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006573/0.3088, allocations: 163.9 kB / 463.2 MB, free: 6.359 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002536/0.3113, allocations: 1.736 MB / 465 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.313, allocations: 0.8851 MB / 465.9 MB, free: 3.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.313, allocations: 0 / 465.9 MB, free: 3.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009641/0.3139, allocations: 0.5988 MB / 466.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3143, allocations: 35.94 kB / 466.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/0.3206, allocations: 4.205 MB / 470.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3208, allocations: 226.6 kB / 470.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.321, allocations: 59.25 kB / 471 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.3213, allocations: 159.4 kB / 471.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3213, allocations: 0 / 471.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.3614, allocations: 10.78 MB / 481.9 MB, free: 3.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.87, allocations: 14.73 kB / 481.9 MB, free: 3.633 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.236196574056521]