Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 164.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3591/0.3591, allocations: 34.25 MB / 295.2 MB, free: 0.625 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.189e-05, allocations: 2.312 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01129/0.01133, allocations: 7.459 MB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005208/0.01653, allocations: 2.341 MB / 387 MB, free: 9.039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006079/0.01714, allocations: 31.94 kB / 387 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004676/0.02182, allocations: 1.913 MB / 389 MB, free: 7.086 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.02389, allocations: 0.7259 MB / 389.7 MB, free: 6.355 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.02636, allocations: 1.04 MB / 390.7 MB, free: 5.312 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.02832, allocations: 1.459 MB / 392.2 MB, free: 3.844 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.02982, allocations: 0.9184 MB / 393.1 MB, free: 2.902 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.03103, allocations: 0.8575 MB / 394 MB, free: 2.043 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008547/0.03188, allocations: 0.5726 MB / 394.5 MB, free: 1.469 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.03208, allocations: 112 kB / 394.6 MB, free: 1.359 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007509/0.03283, allocations: 327.5 kB / 395 MB, free: 1.039 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002989/0.03313, allocations: 302.8 kB / 395.3 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005695/0.0337, allocations: 462.8 kB / 395.7 MB, free: 296 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.03629, allocations: 1.818 MB / 397.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.03629, allocations: 3.938 kB / 397.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.03629, allocations: 4 kB / 397.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.03632, allocations: 0 / 397.5 MB, free: 14.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.00801/0.04433, allocations: 2.529 MB / 400.1 MB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.04438, allocations: 8.031 kB / 400.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009938/0.05431, allocations: 1.658 MB / 401.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.05579, allocations: 0.5666 MB / 402.3 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.0559, allocations: 95.02 kB / 402.4 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.05617, allocations: 136.3 kB / 402.5 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/0.0593, allocations: 1.64 MB / 404.2 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.326e-05/0.05934, allocations: 4.188 kB / 404.2 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.05948, allocations: 59.94 kB / 404.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.05952, allocations: 35.98 kB / 404.3 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002899/0.06242, allocations: 1.447 MB / 405.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.07247, allocations: 4.935 MB / 410.6 MB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/0.0748, allocations: 1.101 MB / 411.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.07587, allocations: 0.5597 MB / 412.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.07605, allocations: 44.97 kB / 412.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.07611, allocations: 54.39 kB / 412.4 MB, free: 15.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 4.048e-06/0.07611, allocations: 0 / 412.4 MB, free: 15.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.01011/0.08622, allocations: 3.016 MB / 415.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.0863, allocations: 94.05 kB / 415.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/0.08706, allocations: 0.5336 MB / 416 MB, free: 11.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.425e-05/0.08715, allocations: 45.7 kB / 416.1 MB, free: 11.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.08763, allocations: 0.5425 MB / 416.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006512/0.08828, allocations: 456.2 kB / 417.1 MB, free: 10.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004531/0.08874, allocations: 264.5 kB / 417.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000394/0.08913, allocations: 0.5821 MB / 417.9 MB, free: 9.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009206/0.09005, allocations: 438.4 kB / 418.3 MB, free: 9.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.09131, allocations: 0.7814 MB / 419.1 MB, free: 8.328 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.0936, allocations: 1.303 MB / 420.4 MB, free: 6.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/0.09361, allocations: 0 / 420.4 MB, free: 6.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003521/0.09713, allocations: 1.612 MB / 422 MB, free: 5.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.09716, allocations: 8 kB / 422 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.09718, allocations: 7.984 kB / 422.1 MB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.09889, allocations: 0.5401 MB / 422.6 MB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008141/0.09971, allocations: 195.7 kB / 422.8 MB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002186/0.09993, allocations: 60.09 kB / 422.8 MB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.1007, allocations: 119.1 kB / 423 MB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.1008, allocations: 51.98 kB / 423 MB, free: 4.293 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005987/0.1014, allocations: 320.3 kB / 423.3 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.1016, allocations: 111.5 kB / 423.4 MB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/0.1049, allocations: 1.553 MB / 425 MB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.105, allocations: 12 kB / 425 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.105, allocations: 0 / 425 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.105, allocations: 7.984 kB / 425 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00516/0.1101, allocations: 2.708 MB / 427.7 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.1101, allocations: 4 kB / 427.7 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006767/0.1108, allocations: 143.8 kB / 427.9 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.1124, allocations: 0.5183 MB / 428.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-05/0.1125, allocations: 27.98 kB / 428.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003517/0.1128, allocations: 71.62 kB / 428.5 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.1128, allocations: 7.938 kB / 428.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/0.1174, allocations: 2.394 MB / 430.9 MB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.1179, allocations: 207.1 kB / 431.1 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.118, allocations: 20 kB / 431.1 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.1186, allocations: 39.98 kB / 431.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.1188, allocations: 85.14 kB / 431.2 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/0.1189, allocations: 35.94 kB / 431.3 MB, free: 11.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004605/0.1194, allocations: 347 kB / 431.6 MB, free: 11.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1194, allocations: 0 / 431.6 MB, free: 11.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001112/0.1205, allocations: 347.2 kB / 431.9 MB, free: 11.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003521/0.1209, allocations: 175 kB / 432.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003109/0.124, allocations: 1.319 MB / 433.4 MB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.124, allocations: 0 / 433.4 MB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.1258, allocations: 0.739 MB / 434.2 MB, free: 9.012 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.1265, allocations: 117.9 kB / 434.3 MB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.1305, allocations: 2.081 MB / 436.4 MB, free: 6.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.131, allocations: 458.3 kB / 436.8 MB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004265/0.1314, allocations: 106.4 kB / 436.9 MB, free: 6.184 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.1316, allocations: 60.48 kB / 437 MB, free: 6.121 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1316, allocations: 0 / 437 MB, free: 6.121 MB / 410.7 MB Notification: Performance of Templates: time 0.1924/0.324, allocations: 12.31 MB / 449.3 MB, free: 99.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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: 5.907090321998112]