Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00123/0.00123, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001748/0.001748, allocations: 168.5 kB / 25.61 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9506/0.9506, allocations: 177.2 MB / 206.1 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1514/0.1514, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.865e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008115/0.008144, allocations: 7.335 MB / 386.6 MB, free: 16.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00503/0.01317, allocations: 2.33 MB / 389 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.01439, allocations: 31.94 kB / 389 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.01804, allocations: 1.878 MB / 390.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.0207, allocations: 0.7181 MB / 391.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.02279, allocations: 1.028 MB / 392.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.0245, allocations: 1.462 MB / 394.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.02586, allocations: 0.9184 MB / 395 MB, free: 7.613 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.02691, allocations: 0.8769 MB / 395.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007631/0.02767, allocations: 0.5688 MB / 396.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.02789, allocations: 115.9 kB / 396.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007124/0.0286, allocations: 323.6 kB / 396.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.02879, allocations: 302.8 kB / 397.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.02927, allocations: 466.8 kB / 397.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.03073, allocations: 1.226 MB / 398.8 MB, free: 3.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.03074, allocations: 4 kB / 398.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03074, allocations: 0 / 398.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.893e-05/0.03077, allocations: 3.938 kB / 398.9 MB, free: 3.742 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.006104/0.03687, allocations: 2.474 MB / 401.3 MB, free: 1.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.03691, allocations: 8.031 kB / 401.3 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007873/0.04478, allocations: 1.647 MB / 403 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009722/0.04576, allocations: 0.5561 MB / 403.5 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.04582, allocations: 99.02 kB / 403.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.046, allocations: 136.3 kB / 403.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.04734, allocations: 1.144 MB / 404.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.04738, allocations: 192 / 404.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.04747, allocations: 55.94 kB / 405 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.04749, allocations: 39.98 kB / 405 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008929/0.04839, allocations: 0.7086 MB / 405.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.05325, allocations: 4.366 MB / 410.1 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009565/0.05421, allocations: 0.8975 MB / 411 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.05454, allocations: 324.2 kB / 411.3 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.05464, allocations: 48.97 kB / 411.3 MB, free: 6.922 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.05467, allocations: 50.33 kB / 411.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 3.366e-06/0.05467, allocations: 0 / 411.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.004337/0.05901, allocations: 2.274 MB / 413.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.05905, allocations: 90.11 kB / 413.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.05936, allocations: 462.2 kB / 414.2 MB, free: 4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.05942, allocations: 45.7 kB / 414.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.05965, allocations: 0.523 MB / 414.8 MB, free: 3.418 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.05991, allocations: 452.1 kB / 415.2 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.06014, allocations: 232.4 kB / 415.4 MB, free: 2.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.0603, allocations: 0.5624 MB / 416 MB, free: 2.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.06055, allocations: 194.5 kB / 416.2 MB, free: 1.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.06094, allocations: 0.5391 MB / 416.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007048/0.06164, allocations: 0.8105 MB / 417.5 MB, free: 372 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.06165, allocations: 0 / 417.5 MB, free: 372 kB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001265/0.06291, allocations: 1.05 MB / 418.6 MB, free: 15.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.06293, allocations: 8 kB / 418.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.06295, allocations: 8 kB / 418.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00079/0.06374, allocations: 413.1 kB / 419 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.06416, allocations: 195.7 kB / 419.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001113/0.06427, allocations: 56.14 kB / 419.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.06466, allocations: 123.1 kB / 419.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.06471, allocations: 47.92 kB / 419.4 MB, free: 14.46 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.0002549/0.06497, allocations: 228.2 kB / 419.6 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.06512, allocations: 115.5 kB / 419.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.06629, allocations: 1.014 MB / 420.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.0663, allocations: 12 kB / 420.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.06631, allocations: 3.938 kB / 420.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.06632, allocations: 7.969 kB / 420.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.06852, allocations: 1.834 MB / 422.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/0.06853, allocations: 0 / 422.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.06886, allocations: 139.8 kB / 422.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007166/0.06958, allocations: 406.7 kB / 423.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.06964, allocations: 31.98 kB / 423.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001535/0.06979, allocations: 67.61 kB / 423.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.06979, allocations: 4 kB / 423.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.07132, allocations: 1.468 MB / 424.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.07162, allocations: 203 kB / 424.9 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.339e-05/0.07169, allocations: 23.98 kB / 425 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.07198, allocations: 44.02 kB / 425 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.0721, allocations: 85.16 kB / 425.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.07214, allocations: 27.98 kB / 425.1 MB, free: 8.664 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.0723, allocations: 271 kB / 425.4 MB, free: 8.398 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0723, allocations: 0 / 425.4 MB, free: 8.398 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006931/0.07299, allocations: 351.2 kB / 425.7 MB, free: 8.055 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.0002474/0.07324, allocations: 175 kB / 425.9 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.07448, allocations: 0.8507 MB / 426.7 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.07448, allocations: 8.188 kB / 426.7 MB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007178/0.0752, allocations: 0.4959 MB / 427.2 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.07565, allocations: 129.8 kB / 427.4 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.07811, allocations: 1.862 MB / 429.2 MB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.07824, allocations: 199.2 kB / 429.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.07851, allocations: 106.4 kB / 429.5 MB, free: 4.156 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.0788, allocations: 206.1 kB / 429.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0788, allocations: 0 / 429.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of Templates: time 0.01831/0.09711, allocations: 13.61 MB / 443.3 MB, free: 6.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.6309826029464602]