Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.00126/0.00126, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005053/0.005053, allocations: 165.2 kB / 24.69 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8673/0.8673, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.251e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003928/0.003951, allocations: 3.427 MB / 301.9 MB, free: 64 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1141/0.1181, allocations: 1.373 MB / 303.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.1182, allocations: 9.281 kB / 303.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1192, allocations: 0.7425 MB / 304 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006583/0.1199, allocations: 396.5 kB / 304.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.1205, allocations: 0.5277 MB / 304.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.1208, allocations: 0.5043 MB / 305.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.1213, allocations: 428.6 kB / 305.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.1216, allocations: 327.8 kB / 306.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.1219, allocations: 226.7 kB / 306.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/0.1219, allocations: 45.12 kB / 306.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.1223, allocations: 200.8 kB / 306.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.1223, allocations: 121.5 kB / 306.7 MB, free: 12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.1225, allocations: 174.7 kB / 306.9 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007215/0.1232, allocations: 0.7387 MB / 307.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1232, allocations: 0 / 307.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1232, allocations: 4 kB / 307.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1232, allocations: 0.6094 kB / 307.6 MB, free: 11.61 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001392/0.1246, allocations: 0.8707 MB / 308.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1246, allocations: 13.02 kB / 308.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.1247, allocations: 106.2 kB / 308.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.1268, allocations: 0.5872 MB / 309.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.1271, allocations: 264.3 kB / 309.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.1272, allocations: 44.38 kB / 309.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.131e-05/0.1272, allocations: 62.41 kB / 309.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.1279, allocations: 0.5913 MB / 310.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1279, allocations: 5.625 kB / 310.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.1279, allocations: 23.97 kB / 310.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1279, allocations: 14.5 kB / 310.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.1287, allocations: 0.6383 MB / 310.9 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.1305, allocations: 1.684 MB / 312.5 MB, free: 9.082 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009193/0.1314, allocations: 0.6086 MB / 313.1 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.1317, allocations: 237.4 kB / 313.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.1318, allocations: 12.02 kB / 313.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.1318, allocations: 40.19 kB / 313.4 MB, free: 8.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 1.914e-06/0.1318, allocations: 0 / 313.4 MB, free: 8.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.001015/0.1328, allocations: 0.6794 MB / 314.1 MB, free: 8.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.1328, allocations: 61.34 kB / 314.2 MB, free: 8.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.133, allocations: 208.4 kB / 314.4 MB, free: 8.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.133, allocations: 35.92 kB / 314.4 MB, free: 8.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.133, allocations: 247.4 kB / 314.6 MB, free: 8.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.1331, allocations: 178.7 kB / 314.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.1332, allocations: 90.25 kB / 314.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.1332, allocations: 341.3 kB / 315.2 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1334, allocations: 162.4 kB / 315.4 MB, free: 7.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.1337, allocations: 290.3 kB / 315.7 MB, free: 7.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.1341, allocations: 480 kB / 316.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1341, allocations: 0 / 316.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006471/0.1347, allocations: 0.5883 MB / 316.7 MB, free: 6.652 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1347, allocations: 7.125 kB / 316.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1348, allocations: 4.656 kB / 316.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.135, allocations: 83.62 kB / 316.8 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.1352, allocations: 107.3 kB / 316.9 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009285/0.1361, allocations: 1.662 MB / 318.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.1363, allocations: 54.77 kB / 318.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.1363, allocations: 26.45 kB / 318.7 MB, free: 5.113 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.1364, allocations: 176.6 kB / 318.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.1365, allocations: 37.28 kB / 318.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.1371, allocations: 0.5464 MB / 319.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1371, allocations: 10.03 kB / 319.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1371, allocations: 2 kB / 319.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1371, allocations: 2.203 kB / 319.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.1382, allocations: 1.078 MB / 320.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1382, allocations: 5.281 kB / 320.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.1384, allocations: 83.19 kB / 320.6 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.1385, allocations: 74.23 kB / 320.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.1385, allocations: 14.33 kB / 320.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007886/0.1393, allocations: 1.652 MB / 322.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1393, allocations: 1.156 kB / 322.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.1401, allocations: 0.8202 MB / 323.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.1401, allocations: 37.16 kB / 323.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1401, allocations: 14.25 kB / 323.2 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1403, allocations: 19.47 kB / 323.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.1403, allocations: 42.89 kB / 323.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1403, allocations: 11.22 kB / 323.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.941e-05/0.1404, allocations: 150.5 kB / 323.4 MB, free: 1.949 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1404, allocations: 0 / 323.4 MB, free: 1.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003744/0.1408, allocations: 157.3 kB / 323.6 MB, free: 1.906 MB / 282.7 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000946/0.1417, allocations: 1.398 MB / 325 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006433/0.1424, allocations: 0.5655 MB / 325.6 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1424, allocations: 0 / 325.6 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.1427, allocations: 362.6 kB / 325.9 MB, free: 448 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.1429, allocations: 37.7 kB / 326 MB, free: 428 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.1462, allocations: 3.645 MB / 329.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.1464, allocations: 210.9 kB / 329.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.1465, allocations: 56.5 kB / 329.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.1467, allocations: 143.4 kB / 330 MB, free: 13.53 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1467, allocations: 1.906 kB / 330 MB, free: 13.53 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.1689, allocations: 8.71 MB / 338.7 MB, free: 5.617 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.545, allocations: 15.94 kB / 338.7 MB, free: 5.602 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 9.145514621399343]