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.001882/0.001882, allocations: 88.22 kB / 20.21 MB, free: 4.344 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.002443/0.002443, allocations: 165.7 kB / 23.52 MB, free: 1.035 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 1.478/1.478, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.229/0.229, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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 2.495e-06/2.495e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.357e-05/3.607e-05, allocations: 10.25 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01097/0.01101, allocations: 6.814 MB / 353.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00722/0.01823, allocations: 2.256 MB / 356 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.01985, allocations: 27.94 kB / 356 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005875/0.02572, allocations: 1.78 MB / 357.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.02956, allocations: 0.7375 MB / 358.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.03339, allocations: 1.012 MB / 359.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003721/0.03711, allocations: 1.482 MB / 361 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.03957, allocations: 0.9339 MB / 362 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.04133, allocations: 0.873 MB / 362.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009635/0.0423, allocations: 0.5765 MB / 363.4 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002025/0.0425, allocations: 116 kB / 363.5 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009634/0.04346, allocations: 323.6 kB / 363.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.04381, allocations: 306.8 kB / 364.2 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006944/0.04451, allocations: 470.7 kB / 364.6 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.04797, allocations: 1.818 MB / 366.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.04797, allocations: 4 kB / 366.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.04797, allocations: 0 / 366.4 MB, free: 6.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.048, allocations: 0 / 366.4 MB, free: 6.199 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.008556/0.05655, allocations: 2.354 MB / 368.8 MB, free: 3.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.0566, allocations: 8.031 kB / 368.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.06742, allocations: 1.818 MB / 370.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/0.06957, allocations: 0.5755 MB / 371.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.06971, allocations: 99.09 kB / 371.3 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.07, allocations: 140.4 kB / 371.4 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.07334, allocations: 1.632 MB / 373.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.07338, allocations: 4.188 kB / 373.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.07355, allocations: 59.94 kB / 373.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.07359, allocations: 32 kB / 373.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.07666, allocations: 1.56 MB / 374.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00905/0.08571, allocations: 4.375 MB / 379.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.08804, allocations: 1.1 MB / 380.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.08918, allocations: 0.5509 MB / 380.7 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.0893, allocations: 32.98 kB / 380.8 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.08935, allocations: 43.56 kB / 380.8 MB, free: 7.523 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 4.448e-06/0.08935, allocations: 0 / 380.8 MB, free: 7.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.009982/0.09933, allocations: 3.111 MB / 383.9 MB, free: 4.398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.501e-05/0.09943, allocations: 94.05 kB / 384 MB, free: 4.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006309/0.1001, allocations: 441.6 kB / 384.4 MB, free: 3.848 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.038e-05/0.1002, allocations: 45.7 kB / 384.5 MB, free: 3.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.1006, allocations: 0.489 MB / 385 MB, free: 3.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000631/0.1012, allocations: 456 kB / 385.4 MB, free: 2.852 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004118/0.1016, allocations: 226.9 kB / 385.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002474/0.1019, allocations: 378.8 kB / 386 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009654/0.1029, allocations: 467.1 kB / 386.5 MB, free: 1.789 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.1041, allocations: 0.7478 MB / 387.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/0.1064, allocations: 1.255 MB / 388.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1064, allocations: 4 kB / 388.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00355/0.11, allocations: 1.697 MB / 390.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.11, allocations: 12 kB / 390.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.1101, allocations: 12 kB / 390.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.1118, allocations: 0.5298 MB / 390.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008893/0.1127, allocations: 211.7 kB / 390.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002314/0.1129, allocations: 61.23 kB / 391 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.1137, allocations: 131.1 kB / 391.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.1138, allocations: 55.98 kB / 391.2 MB, free: 12.84 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.0006014/0.1144, allocations: 277.5 kB / 391.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.1147, allocations: 119.5 kB / 391.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.1181, allocations: 1.552 MB / 393.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.1182, allocations: 16 kB / 393.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.1182, allocations: 3.938 kB / 393.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.1182, allocations: 11.97 kB / 393.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005233/0.1234, allocations: 2.508 MB / 395.7 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.1234, allocations: 32 / 395.7 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/0.1241, allocations: 147.8 kB / 395.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.1258, allocations: 0.5193 MB / 396.3 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.055e-05/0.1259, allocations: 32 kB / 396.4 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001016/0.126, allocations: 24.84 kB / 396.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.126, allocations: 0 / 396.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/0.1306, allocations: 2.31 MB / 398.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.1313, allocations: 211 kB / 398.9 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.1314, allocations: 24 kB / 398.9 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006308/0.132, allocations: 51.91 kB / 399 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.1323, allocations: 77.16 kB / 399 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/0.1324, allocations: 36 kB / 399.1 MB, free: 4.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004161/0.1328, allocations: 283.1 kB / 399.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1328, allocations: 4.062 kB / 399.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001376/0.1341, allocations: 359.2 kB / 399.7 MB, free: 4.215 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.0003786/0.1345, allocations: 163.1 kB / 399.9 MB, free: 4.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003448/0.138, allocations: 1.298 MB / 401.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.138, allocations: 0 / 401.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.1399, allocations: 0.6864 MB / 401.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.1407, allocations: 124.2 kB / 402 MB, free: 1.949 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.1453, allocations: 2.117 MB / 404.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.1459, allocations: 463.1 kB / 404.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005262/0.1464, allocations: 110.8 kB / 404.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.1467, allocations: 64.48 kB / 404.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of SimCode: time 2.584e-06/0.1467, allocations: 0 / 404.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of Templates: time 0.02605/0.1727, allocations: 12.16 MB / 416.9 MB, free: 3.051 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.723420723923482]