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.001368/0.001368, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001353/0.001353, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.441/1.441, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.001503/0.001503, allocations: 51.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1095, allocations: 53.33 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005475/0.115, allocations: 3.73 MB / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.1178, allocations: 1.499 MB / 432.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1179, allocations: 12 kB / 432.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.1197, allocations: 0.7624 MB / 433 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000919/0.1206, allocations: 385.5 kB / 433.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1217, allocations: 0.5565 MB / 433.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005281/0.1222, allocations: 466 kB / 434.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.1227, allocations: 297.9 kB / 434.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.1231, allocations: 219.2 kB / 434.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.1234, allocations: 263 kB / 435.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.1234, allocations: 40 kB / 435.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.1238, allocations: 219.8 kB / 435.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.389e-05/0.1239, allocations: 103.6 kB / 435.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.1241, allocations: 234.9 kB / 435.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008163/0.1249, allocations: 0.6849 MB / 436.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1249, allocations: 0 / 436.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1249, allocations: 0 / 436.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.125, allocations: 0 / 436.4 MB, free: 11.33 MB / 366.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.002108/0.1271, allocations: 0.9199 MB / 437.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1271, allocations: 12.03 kB / 437.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.464e-05/0.1272, allocations: 17.48 kB / 437.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.1273, allocations: 99.97 kB / 437.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.1307, allocations: 472.2 kB / 437.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.1312, allocations: 315.4 kB / 438.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.1313, allocations: 41.69 kB / 438.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/0.1314, allocations: 56.12 kB / 438.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009883/0.1324, allocations: 0.5297 MB / 438.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.1324, allocations: 0 / 438.9 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.1324, allocations: 20 kB / 438.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.1325, allocations: 16 kB / 438.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1335, allocations: 0.5751 MB / 439.5 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/0.1365, allocations: 1.976 MB / 441.5 MB, free: 6.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.1388, allocations: 2.166 MB / 443.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.1392, allocations: 194.1 kB / 443.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.1394, allocations: 178.6 kB / 444 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1394, allocations: 39 kB / 444 MB, free: 3.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 1.874e-06/0.1394, allocations: 4 kB / 444 MB, free: 3.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004802/0.1442, allocations: 1.962 MB / 446 MB, free: 1.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1443, allocations: 55.97 kB / 446.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1445, allocations: 182.3 kB / 446.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.1445, allocations: 41.69 kB / 446.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1447, allocations: 217 kB / 446.5 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.1449, allocations: 230 kB / 446.7 MB, free: 292 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.145, allocations: 114.2 kB / 446.8 MB, free: 172 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1863/0.3313, allocations: 342.6 kB / 447.2 MB, free: 24.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006645/0.332, allocations: 221.5 kB / 447.4 MB, free: 24.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.3326, allocations: 308 kB / 447.7 MB, free: 24.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.3336, allocations: 0.5465 MB / 448.2 MB, free: 24.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3336, allocations: 2.406 kB / 448.2 MB, free: 24.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001587/0.3352, allocations: 0.7787 MB / 449 MB, free: 24.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3352, allocations: 5.938 kB / 449 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3352, allocations: 5.547 kB / 449 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/0.3359, allocations: 189.9 kB / 449.2 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.3364, allocations: 110.6 kB / 449.3 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.3398, allocations: 4.165 MB / 453.5 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.3402, allocations: 23.2 kB / 453.5 MB, free: 20.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.3402, allocations: 25.81 kB / 453.5 MB, free: 20.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.0002366/0.3405, allocations: 179.6 kB / 453.7 MB, free: 20.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/0.3405, allocations: 37.52 kB / 453.7 MB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.3422, allocations: 0.805 MB / 454.5 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3422, allocations: 6.031 kB / 454.5 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3423, allocations: 4.062 kB / 454.5 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.3423, allocations: 7.828 kB / 454.5 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.3448, allocations: 1.553 MB / 456.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3448, allocations: 0 / 456.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.3453, allocations: 97.78 kB / 456.2 MB, free: 19.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005497/0.3458, allocations: 175.4 kB / 456.4 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.3459, allocations: 17.27 kB / 456.4 MB, free: 19.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.3489, allocations: 3.869 MB / 460.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3489, allocations: 0 / 460.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.3512, allocations: 1.154 MB / 461.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-05/0.3513, allocations: 104 kB / 461.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.3514, allocations: 15.03 kB / 461.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.3517, allocations: 30 kB / 461.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.3518, allocations: 49.59 kB / 461.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.3519, allocations: 18.12 kB / 461.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.352, allocations: 139.6 kB / 461.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.352, allocations: 0 / 461.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007781/0.3528, allocations: 159.9 kB / 461.9 MB, free: 15.02 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.002451/0.3552, allocations: 1.729 MB / 463.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3569, allocations: 0.8804 MB / 464.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3569, allocations: 0 / 464.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.3578, allocations: 0.6041 MB / 465.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3582, allocations: 40.72 kB / 465.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006176/0.3644, allocations: 4.194 MB / 469.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.3647, allocations: 0.8309 MB / 470.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.3649, allocations: 53.41 kB / 470.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.3651, allocations: 161.1 kB / 470.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3652, allocations: 0 / 470.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/0.4038, allocations: 10.14 MB / 480.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.62, allocations: 17.19 kB / 480.6 MB, free: 6.812 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.041695977037307]