Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001306/0.001306, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009579/0.0009579, allocations: 165 kB / 23.79 MB, free: 0.7773 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.8653/0.8653, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1364/0.1364, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.537e-05, allocations: 8.219 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005037/0.005053, allocations: 7.511 MB / 355.2 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.007866, allocations: 2.31 MB / 357.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.008188, allocations: 31.94 kB / 357.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.01012, allocations: 1.925 MB / 359.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009739/0.0111, allocations: 0.7337 MB / 360.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.01224, allocations: 1.028 MB / 361.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000951/0.01319, allocations: 1.498 MB / 362.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.0143, allocations: 0.9145 MB / 363.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008438/0.01514, allocations: 0.8809 MB / 364.5 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006134/0.01576, allocations: 0.5921 MB / 365.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.0159, allocations: 112 kB / 365.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.01644, allocations: 319.6 kB / 365.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.0166, allocations: 310.8 kB / 365.8 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.0169, allocations: 478.7 kB / 366.3 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009969/0.0179, allocations: 1.234 MB / 367.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.0179, allocations: 0 / 367.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0179, allocations: 0 / 367.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.01791, allocations: 0 / 367.5 MB, free: 5.484 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.003763/0.02168, allocations: 2.49 MB / 370 MB, free: 2.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.02171, allocations: 12.02 kB / 370 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005251/0.02696, allocations: 1.842 MB / 371.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007503/0.02771, allocations: 0.5744 MB / 372.4 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.02778, allocations: 103.1 kB / 372.5 MB, free: 396 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.02794, allocations: 136.4 kB / 372.7 MB, free: 260 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.02944, allocations: 1.298 MB / 374 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.02947, allocations: 8.188 kB / 374 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.02955, allocations: 55.94 kB / 374 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.02958, allocations: 40 kB / 374.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.03078, allocations: 0.9125 MB / 375 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004345/0.03512, allocations: 4.388 MB / 379.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.03619, allocations: 0.9998 MB / 380.4 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.03664, allocations: 389.8 kB / 380.8 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-05/0.03672, allocations: 28.98 kB / 380.8 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.03676, allocations: 62.31 kB / 380.8 MB, free: 7.828 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 2.795e-06/0.03676, allocations: 0 / 380.8 MB, free: 7.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.004708/0.04147, allocations: 2.5 MB / 383.3 MB, free: 5.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.04151, allocations: 98.03 kB / 383.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.04189, allocations: 478.4 kB / 383.9 MB, free: 4.715 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.04194, allocations: 45.7 kB / 384 MB, free: 4.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.04217, allocations: 0.5502 MB / 384.5 MB, free: 4.105 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.04239, allocations: 448.2 kB / 384.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.04263, allocations: 240.5 kB / 385.2 MB, free: 3.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003441/0.04297, allocations: 0.5587 MB / 385.7 MB, free: 2.848 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.04335, allocations: 255.2 kB / 386 MB, free: 2.602 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/0.04391, allocations: 0.6547 MB / 386.6 MB, free: 1.789 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/0.04488, allocations: 0.9819 MB / 387.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.04489, allocations: 0 / 387.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001809/0.04669, allocations: 1.251 MB / 388.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.04671, allocations: 8 kB / 388.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.04673, allocations: 15.98 kB / 388.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008227/0.04755, allocations: 433.3 kB / 389.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.04797, allocations: 215.7 kB / 389.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000114/0.04808, allocations: 64.08 kB / 389.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.0484, allocations: 127 kB / 389.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.04846, allocations: 59.98 kB / 389.8 MB, free: 14.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.0002184/0.04868, allocations: 228.3 kB / 390 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.04881, allocations: 123.5 kB / 390.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.05015, allocations: 1.139 MB / 391.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.05016, allocations: 12 kB / 391.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.05017, allocations: 7.922 kB / 391.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.05018, allocations: 7.969 kB / 391.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.05241, allocations: 2.103 MB / 393.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.05241, allocations: 0 / 393.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.05272, allocations: 143.8 kB / 393.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007082/0.05343, allocations: 418.7 kB / 393.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.05348, allocations: 28 kB / 394 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-05/0.05353, allocations: 27.67 kB / 394 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.05353, allocations: 3.938 kB / 394 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.05527, allocations: 1.613 MB / 395.6 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.05552, allocations: 207 kB / 395.8 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.05558, allocations: 20 kB / 395.8 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.05585, allocations: 51.92 kB / 395.9 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/0.05625, allocations: 81.09 kB / 396 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.05629, allocations: 35.98 kB / 396 MB, free: 8.145 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.05647, allocations: 295 kB / 396.3 MB, free: 7.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05647, allocations: 4.031 kB / 396.3 MB, free: 7.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005751/0.05705, allocations: 355.2 kB / 396.6 MB, free: 7.512 MB / 330.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 (86): * Single equations (assignments): 85 * 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.0002177/0.05727, allocations: 159 kB / 396.8 MB, free: 7.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.05863, allocations: 0.994 MB / 397.8 MB, free: 6.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.05863, allocations: 0 / 397.8 MB, free: 6.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.05964, allocations: 0.5553 MB / 398.3 MB, free: 5.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.06024, allocations: 125.8 kB / 398.5 MB, free: 5.672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.06312, allocations: 1.938 MB / 400.4 MB, free: 3.688 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.06328, allocations: 207.2 kB / 400.6 MB, free: 3.465 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.06361, allocations: 106.8 kB / 400.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.06377, allocations: 68.48 kB / 400.8 MB, free: 3.285 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.06377, allocations: 4 kB / 400.8 MB, free: 3.281 MB / 330.7 MB Notification: Performance of Templates: time 0.0179/0.08167, allocations: 12.22 MB / 413 MB, free: 7.145 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.426456834189594]