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.00112/0.00112, allocations: 80.25 kB / 22.21 MB, free: 2.277 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.001442/0.001442, allocations: 165.6 kB / 25.61 MB, free: 8.867 MB / 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 0.9056/0.9056, allocations: 177 MB / 205.9 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] 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.1428/0.1428, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] 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.162e-06/1.162e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.829e-06/1.099e-05, allocations: 3.859 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.004594/0.004605, allocations: 7.339 MB / 387.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.007385, allocations: 2.337 MB / 389.7 MB, free: 13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000357/0.007742, allocations: 31.94 kB / 389.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.009409, allocations: 1.87 MB / 391.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009136/0.01032, allocations: 0.722 MB / 392.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.01134, allocations: 1.024 MB / 393.3 MB, free: 9.344 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007578/0.01209, allocations: 1.469 MB / 394.8 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007266/0.01282, allocations: 0.9144 MB / 395.7 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005142/0.01333, allocations: 0.873 MB / 396.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.0137, allocations: 0.5649 MB / 397.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.697e-05/0.01379, allocations: 112 kB / 397.3 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.01417, allocations: 327.5 kB / 397.6 MB, free: 5.059 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.01428, allocations: 310.8 kB / 397.9 MB, free: 4.754 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.0145, allocations: 458.8 kB / 398.3 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000755/0.01525, allocations: 1.23 MB / 399.6 MB, free: 3.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01525, allocations: 0 / 399.6 MB, free: 3.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01526, allocations: 0 / 399.6 MB, free: 3.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.01526, allocations: 0 / 399.6 MB, free: 3.07 MB / 314.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.003375/0.01864, allocations: 2.478 MB / 402 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.01867, allocations: 8.031 kB / 402.1 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.0235, allocations: 1.647 MB / 403.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.02419, allocations: 0.5639 MB / 404.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.02424, allocations: 95.02 kB / 404.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.02438, allocations: 136.3 kB / 404.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.02548, allocations: 1.148 MB / 405.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.02551, allocations: 4.172 kB / 405.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.862e-05/0.0256, allocations: 63.92 kB / 405.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.02562, allocations: 32 kB / 405.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007826/0.02641, allocations: 0.7047 MB / 406.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.03049, allocations: 4.362 MB / 410.8 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.0315, allocations: 0.8974 MB / 411.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.0318, allocations: 317.1 kB / 412 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.388e-05/0.03189, allocations: 44.97 kB / 412.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.03191, allocations: 46.39 kB / 412.1 MB, free: 6.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 2.435e-06/0.03191, allocations: 0 / 412.1 MB, free: 6.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.004068/0.03598, allocations: 2.286 MB / 414.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.03601, allocations: 90.11 kB / 414.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.03626, allocations: 462.2 kB / 414.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.03631, allocations: 49.7 kB / 415 MB, free: 3.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.03651, allocations: 0.5113 MB / 415.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.03672, allocations: 460.1 kB / 415.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.03693, allocations: 232.4 kB / 416.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.03707, allocations: 0.5702 MB / 416.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.03729, allocations: 194.5 kB / 416.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.03765, allocations: 0.5313 MB / 417.5 MB, free: 0.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.03843, allocations: 0.8067 MB / 418.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.03844, allocations: 0 / 418.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001105/0.03954, allocations: 1.058 MB / 419.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.03956, allocations: 8 kB / 419.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.03957, allocations: 8 kB / 419.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000705/0.04027, allocations: 413.2 kB / 419.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.04066, allocations: 187.7 kB / 419.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.827e-05/0.04076, allocations: 64.06 kB / 420 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.04105, allocations: 119.1 kB / 420.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.0411, allocations: 43.98 kB / 420.1 MB, free: 13.79 MB / 346.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.0001993/0.0413, allocations: 224.3 kB / 420.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.04144, allocations: 119.5 kB / 420.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.0425, allocations: 1.022 MB / 421.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.04251, allocations: 12 kB / 421.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.04251, allocations: 0 / 421.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.04252, allocations: 3.984 kB / 421.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.04435, allocations: 1.838 MB / 423.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.04435, allocations: 4.031 kB / 423.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.04466, allocations: 139.8 kB / 423.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006527/0.04531, allocations: 402.6 kB / 423.9 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.04537, allocations: 31.98 kB / 423.9 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001431/0.04551, allocations: 67.61 kB / 424 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.04551, allocations: 4 kB / 424 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.04706, allocations: 1.472 MB / 425.5 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.04729, allocations: 207 kB / 425.7 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.04736, allocations: 20 kB / 425.7 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.04763, allocations: 44.02 kB / 425.7 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.04774, allocations: 81.16 kB / 425.8 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.04778, allocations: 27.98 kB / 425.8 MB, free: 7.992 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.04791, allocations: 279 kB / 426.1 MB, free: 7.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04791, allocations: 0 / 426.1 MB, free: 7.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005719/0.04848, allocations: 347.2 kB / 426.4 MB, free: 7.383 MB / 346.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.0002224/0.04871, allocations: 171 kB / 426.6 MB, free: 7.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.04981, allocations: 0.8506 MB / 427.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.04981, allocations: 0 / 427.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006849/0.05049, allocations: 0.5118 MB / 428 MB, free: 5.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.05092, allocations: 105.9 kB / 428.1 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.05303, allocations: 1.881 MB / 430 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.05315, allocations: 199.2 kB / 430.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.0534, allocations: 106.4 kB / 430.3 MB, free: 3.484 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.05366, allocations: 202.1 kB / 430.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.05367, allocations: 0 / 430.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of Templates: time 0.01552/0.06918, allocations: 13.62 MB / 444.1 MB, free: 5.824 MB / 362.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5557347810827196]