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.0008907/0.0008907, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001069/0.001069, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9797/0.9797, allocations: 177 MB / 205.2 MB, free: 5.035 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.2537/0.2537, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 266.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.613e-06/1.613e-06, allocations: 0 / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.51e-05, allocations: 2.312 kB / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005918/0.005933, allocations: 7.406 MB / 333.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.008706, allocations: 2.443 MB / 335.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.008992, allocations: 31.94 kB / 335.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.01081, allocations: 1.917 MB / 337.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009729/0.01179, allocations: 0.7141 MB / 338.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.01289, allocations: 1.042 MB / 339.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009288/0.01382, allocations: 1.468 MB / 341 MB, free: 8.027 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.01468, allocations: 0.9652 MB / 341.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006354/0.01532, allocations: 0.873 MB / 342.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.01579, allocations: 0.5766 MB / 343.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.01589, allocations: 112 kB / 343.5 MB, free: 5.465 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.0163, allocations: 331.5 kB / 343.8 MB, free: 5.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.01645, allocations: 310.8 kB / 344.1 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.01673, allocations: 458.8 kB / 344.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.01787, allocations: 1.237 MB / 345.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.01787, allocations: 0 / 345.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01787, allocations: 0 / 345.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.01788, allocations: 0 / 345.8 MB, free: 3.145 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.004073/0.02195, allocations: 2.51 MB / 348.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.02198, allocations: 16.03 kB / 348.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005685/0.02767, allocations: 1.831 MB / 350.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/0.02824, allocations: 374.9 kB / 350.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.02831, allocations: 99.02 kB / 350.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.02844, allocations: 140.3 kB / 350.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.02957, allocations: 1.158 MB / 351.9 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.0296, allocations: 8.156 kB / 351.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/0.02968, allocations: 55.94 kB / 352 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.0297, allocations: 36 kB / 352 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.03052, allocations: 0.6261 MB / 352.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.03429, allocations: 3.429 MB / 356.1 MB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008202/0.03511, allocations: 0.8583 MB / 356.9 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.03538, allocations: 267.6 kB / 357.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.03549, allocations: 52.89 kB / 357.2 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.03552, allocations: 51.5 kB / 357.3 MB, free: 7.344 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 2.685e-06/0.03552, allocations: 0 / 357.3 MB, free: 7.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.003761/0.03928, allocations: 2.055 MB / 359.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.03932, allocations: 94.09 kB / 359.4 MB, free: 5.176 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.03963, allocations: 391 kB / 359.8 MB, free: 4.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.03968, allocations: 45.7 kB / 359.9 MB, free: 4.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.03985, allocations: 453.5 kB / 360.3 MB, free: 4.277 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.04005, allocations: 440.1 kB / 360.7 MB, free: 3.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.04025, allocations: 218.7 kB / 361 MB, free: 3.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.04035, allocations: 378.6 kB / 361.3 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.04055, allocations: 169.4 kB / 361.5 MB, free: 3.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.04085, allocations: 420.5 kB / 361.9 MB, free: 2.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.04156, allocations: 0.708 MB / 362.6 MB, free: 1.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.04157, allocations: 7.938 kB / 362.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0009753/0.04254, allocations: 0.839 MB / 363.5 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.04257, allocations: 8 kB / 363.5 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.04258, allocations: 8 kB / 363.5 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/0.04328, allocations: 385.1 kB / 363.9 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.0437, allocations: 211.6 kB / 364.1 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.413e-05/0.04379, allocations: 53.3 kB / 364.1 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.04408, allocations: 111.2 kB / 364.2 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.04413, allocations: 35.98 kB / 364.3 MB, free: 112 kB / 330.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.000208/0.04434, allocations: 189.5 kB / 364.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.04445, allocations: 83.92 kB / 364.5 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009165/0.04536, allocations: 0.8385 MB / 365.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.04537, allocations: 15.94 kB / 365.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.04538, allocations: 0 / 365.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.04538, allocations: 7.969 kB / 365.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.04706, allocations: 1.454 MB / 366.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.04706, allocations: 3.984 kB / 366.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.04739, allocations: 155.8 kB / 367 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006167/0.048, allocations: 375.2 kB / 367.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.04805, allocations: 28 kB / 367.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001243/0.04817, allocations: 64.77 kB / 367.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.04818, allocations: 4 kB / 367.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.04938, allocations: 1.218 MB / 368.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.04958, allocations: 123.1 kB / 368.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.04965, allocations: 20 kB / 368.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.04989, allocations: 48.02 kB / 368.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.05001, allocations: 77.14 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.05005, allocations: 31.98 kB / 369 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.05015, allocations: 148.7 kB / 369.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05015, allocations: 0 / 369.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005919/0.05075, allocations: 351.2 kB / 369.5 MB, free: 10.81 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.0002423/0.05099, allocations: 156.2 kB / 369.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.05202, allocations: 0.7776 MB / 370.4 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.05203, allocations: 4.5 kB / 370.4 MB, free: 9.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.05267, allocations: 477.3 kB / 370.9 MB, free: 9.395 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.05307, allocations: 112.6 kB / 371 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.05545, allocations: 1.829 MB / 372.8 MB, free: 7.426 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.0556, allocations: 207.1 kB / 373 MB, free: 7.203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00025/0.05585, allocations: 102.4 kB / 373.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.05612, allocations: 175.3 kB / 373.3 MB, free: 6.926 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.05612, allocations: 0 / 373.3 MB, free: 6.926 MB / 346.7 MB Notification: Performance of Templates: time 0.0169/0.07302, allocations: 13.06 MB / 386.3 MB, free: 10.05 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 -s gbode -gbm=radauIIA3 -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.2599946199916303]