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.0008607/0.0008607, 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.0009156/0.0009156, 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.9421/0.9421, allocations: 177 MB / 205.2 MB, free: 5.039 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.2377/0.2377, allocations: 34.86 MB / 296.6 MB, free: 472 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.723e-06/1.723e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.859e-05, allocations: 5.266 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005932/0.005961, allocations: 7.352 MB / 333.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.00914, allocations: 2.45 MB / 335.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.009444, allocations: 31.94 kB / 335.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.01138, allocations: 1.924 MB / 337.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.01239, allocations: 0.7259 MB / 338.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.01362, allocations: 1.052 MB / 339.4 MB, free: 9.574 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009628/0.01459, allocations: 1.464 MB / 340.9 MB, free: 8.105 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008563/0.01544, allocations: 0.9691 MB / 341.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.0161, allocations: 0.8692 MB / 342.7 MB, free: 6.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.01656, allocations: 0.5805 MB / 343.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.01667, allocations: 112 kB / 343.4 MB, free: 5.539 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.01708, allocations: 323.6 kB / 343.8 MB, free: 5.223 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.01724, allocations: 310.7 kB / 344.1 MB, free: 4.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.01753, allocations: 458.8 kB / 344.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009653/0.0185, allocations: 1.234 MB / 345.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.0185, allocations: 0 / 345.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0185, allocations: 0 / 345.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.01851, allocations: 0 / 345.7 MB, free: 3.23 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.003761/0.02227, allocations: 2.513 MB / 348.3 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.0223, allocations: 12.03 kB / 348.3 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/0.02714, allocations: 1.831 MB / 350.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.02762, allocations: 378.8 kB / 350.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.02767, allocations: 99.02 kB / 350.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.02781, allocations: 136.3 kB / 350.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.02884, allocations: 1.162 MB / 351.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.02887, allocations: 4.172 kB / 351.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.02895, allocations: 59.92 kB / 351.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.02897, allocations: 36 kB / 352 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.02967, allocations: 0.6261 MB / 352.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/0.03334, allocations: 3.43 MB / 356 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/0.03415, allocations: 0.8537 MB / 356.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.03441, allocations: 267.6 kB / 357.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.34e-05/0.0345, allocations: 48.91 kB / 357.2 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.03453, allocations: 59.44 kB / 357.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 2.956e-06/0.03453, allocations: 0 / 357.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.003615/0.03815, allocations: 2.055 MB / 359.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.03818, allocations: 90.11 kB / 359.4 MB, free: 5.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.0384, allocations: 387 kB / 359.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.03845, allocations: 49.7 kB / 359.8 MB, free: 4.812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.03862, allocations: 449.5 kB / 360.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.03885, allocations: 448.1 kB / 360.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.03904, allocations: 210.8 kB / 360.9 MB, free: 3.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.03915, allocations: 382.6 kB / 361.3 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.03935, allocations: 169.4 kB / 361.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.03966, allocations: 424.5 kB / 361.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.04024, allocations: 0.7002 MB / 362.5 MB, free: 1.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.04025, allocations: 3.938 kB / 362.5 MB, free: 1.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001041/0.04129, allocations: 0.8429 MB / 363.4 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.04131, allocations: 9.406 kB / 363.4 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.04132, allocations: 12 kB / 363.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/0.04199, allocations: 385.1 kB / 363.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.04236, allocations: 195.7 kB / 364 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001003/0.04246, allocations: 53.25 kB / 364 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.04274, allocations: 115.2 kB / 364.1 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.04278, allocations: 32 kB / 364.2 MB, free: 212 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.0001861/0.04297, allocations: 189.5 kB / 364.4 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.04309, allocations: 87.92 kB / 364.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009029/0.04399, allocations: 0.8345 MB / 365.3 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.044, allocations: 16 kB / 365.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.044, allocations: 0 / 365.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.04401, allocations: 7.969 kB / 365.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.04559, allocations: 1.463 MB / 366.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.04559, allocations: 0 / 366.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.04588, allocations: 131.8 kB / 366.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006131/0.04649, allocations: 378.7 kB / 367.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.04653, allocations: 31.98 kB / 367.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001288/0.04666, allocations: 64.78 kB / 367.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.04666, allocations: 0 / 367.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.04791, allocations: 1.23 MB / 368.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.04811, allocations: 119.1 kB / 368.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.04817, allocations: 20 kB / 368.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.04841, allocations: 43.97 kB / 368.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/0.04851, allocations: 81.16 kB / 368.8 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.04855, allocations: 32.02 kB / 368.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.04865, allocations: 152.7 kB / 369 MB, free: 11.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04865, allocations: 0 / 369 MB, free: 11.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005049/0.04916, allocations: 351.2 kB / 369.4 MB, free: 10.91 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.0001973/0.04935, allocations: 144.2 kB / 369.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009464/0.0503, allocations: 0.7727 MB / 370.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.05031, allocations: 8.5 kB / 370.3 MB, free: 9.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.05091, allocations: 478.3 kB / 370.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.05129, allocations: 123.4 kB / 370.9 MB, free: 9.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.05335, allocations: 1.831 MB / 372.7 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.05347, allocations: 199.1 kB / 372.9 MB, free: 7.312 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.0537, allocations: 106.4 kB / 373 MB, free: 7.203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.05395, allocations: 175.3 kB / 373.2 MB, free: 7.031 MB / 346.7 MB Notification: Performance of SimCode: time 1.363e-06/0.05395, allocations: 4 kB / 373.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of Templates: time 0.01529/0.06924, allocations: 13.07 MB / 386.2 MB, free: 10.15 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.1116734137758613]