Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001293/0.001293, allocations: 116.8 kB / 18.49 MB, free: 4.66 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.001204/0.001204, allocations: 189 kB / 21.44 MB, free: 1.73 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.386/1.386, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.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.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 43.94 kB / 366.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09492, allocations: 52.14 MB / 418.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004978/0.0999, allocations: 3.714 MB / 422.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1022, allocations: 1.441 MB / 423.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.1023, allocations: 8 kB / 423.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.104, allocations: 0.7584 MB / 424.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.1051, allocations: 0.5351 MB / 424.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007987/0.1059, allocations: 430.3 kB / 425.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.1064, allocations: 462 kB / 425.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004972/0.1069, allocations: 297.9 kB / 426.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.1072, allocations: 219.1 kB / 426.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.1075, allocations: 267 kB / 426.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.1075, allocations: 43.94 kB / 426.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.1079, allocations: 199.9 kB / 426.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.108, allocations: 107.6 kB / 426.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.1082, allocations: 234.8 kB / 427.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008112/0.109, allocations: 0.6848 MB / 427.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.109, allocations: 4 kB / 427.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.109, allocations: 0 / 427.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.109, allocations: 4 kB / 427.8 MB, free: 3.23 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.002176/0.1112, allocations: 0.9044 MB / 428.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1112, allocations: 12.03 kB / 428.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.14e-05/0.1112, allocations: 17.5 kB / 428.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.1114, allocations: 103.9 kB / 428.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/0.1149, allocations: 496.1 kB / 429.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.1153, allocations: 307.7 kB / 429.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.1153, allocations: 41.69 kB / 429.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.71e-05/0.1154, allocations: 64.06 kB / 429.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009526/0.1164, allocations: 0.518 MB / 430.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1164, allocations: 3.953 kB / 430.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.1164, allocations: 28 kB / 430.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1164, allocations: 12 kB / 430.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.1175, allocations: 0.5712 MB / 430.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.1203, allocations: 1.889 MB / 432.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.1227, allocations: 2.157 MB / 434.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.1231, allocations: 202.1 kB / 435.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.1232, allocations: 89.55 kB / 435.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.1232, allocations: 39 kB / 435.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/0.1232, allocations: 0 / 435.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004746/0.128, allocations: 1.958 MB / 437.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.128, allocations: 59.97 kB / 437.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1282, allocations: 190.3 kB / 437.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.1283, allocations: 37.7 kB / 437.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1284, allocations: 225 kB / 437.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.1286, allocations: 226 kB / 437.9 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1287, allocations: 106.3 kB / 438 MB, free: 8.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1289, allocations: 342.8 kB / 438.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.1293, allocations: 229.2 kB / 438.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.1299, allocations: 309.8 kB / 438.9 MB, free: 7.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.1309, allocations: 0.541 MB / 439.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1309, allocations: 3.938 kB / 439.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001599/0.1325, allocations: 0.7775 MB / 440.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1325, allocations: 8 kB / 440.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1325, allocations: 7.938 kB / 440.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/0.1331, allocations: 185.6 kB / 440.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.1336, allocations: 115.8 kB / 440.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/0.1379, allocations: 4.141 MB / 444.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.1382, allocations: 39.97 kB / 444.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/0.1383, allocations: 20 kB / 444.7 MB, free: 1.23 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.000222/0.1385, allocations: 181.7 kB / 444.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.1386, allocations: 35.77 kB / 445 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.1403, allocations: 0.8087 MB / 445.8 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1403, allocations: 4 kB / 445.8 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1403, allocations: 7.984 kB / 445.8 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1403, allocations: 0 / 445.8 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1908/0.3311, allocations: 1.545 MB / 447.3 MB, free: 30.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3311, allocations: 1.531 kB / 447.3 MB, free: 30.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.3316, allocations: 95.22 kB / 447.4 MB, free: 30.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005074/0.3321, allocations: 174.2 kB / 447.6 MB, free: 30.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.3321, allocations: 11.81 kB / 447.6 MB, free: 30.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.3348, allocations: 3.877 MB / 451.5 MB, free: 27.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3348, allocations: 0 / 451.5 MB, free: 27.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.3367, allocations: 1.147 MB / 452.6 MB, free: 27.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.3367, allocations: 114.2 kB / 452.7 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.3368, allocations: 12.72 kB / 452.7 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.3371, allocations: 26.52 kB / 452.8 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.3372, allocations: 51.58 kB / 452.8 MB, free: 26.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.3373, allocations: 14.94 kB / 452.8 MB, free: 26.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3374, allocations: 137.8 kB / 453 MB, free: 26.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3374, allocations: 4.438 kB / 453 MB, free: 26.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007218/0.3381, allocations: 153.9 kB / 453.1 MB, free: 26.89 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.002482/0.3406, allocations: 1.736 MB / 454.9 MB, free: 26.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.3422, allocations: 0.8724 MB / 455.7 MB, free: 25.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3423, allocations: 0 / 455.7 MB, free: 25.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009787/0.3432, allocations: 0.5896 MB / 456.3 MB, free: 25.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3436, allocations: 44.73 kB / 456.4 MB, free: 25.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006191/0.3498, allocations: 4.192 MB / 460.6 MB, free: 22.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3501, allocations: 0.8294 MB / 461.4 MB, free: 22.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002437/0.3504, allocations: 61.58 kB / 461.4 MB, free: 22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.3506, allocations: 159.7 kB / 461.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3506, allocations: 0 / 461.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.3854, allocations: 10.07 MB / 471.7 MB, free: 19.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.55, allocations: 7.781 kB / 471.7 MB, free: 19.61 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.939084213983733]