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.00189/0.00189, allocations: 73.88 kB / 19.93 MB, free: 1.785 MB / 14.72 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.001912/0.001912, allocations: 162.5 kB / 23.21 MB, free: 4.91 MB / 14.72 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.672/1.672, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 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.2264/0.2264, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 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 1.433e-06/1.433e-06, allocations: 0 / 407.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.709e-05, allocations: 4.391 kB / 407.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01038/0.01042, allocations: 6.788 MB / 414.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006269/0.01669, allocations: 2.259 MB / 416.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.01785, allocations: 35.94 kB / 416.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004859/0.0227, allocations: 1.788 MB / 418.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.02577, allocations: 0.7436 MB / 419 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.02851, allocations: 1.032 MB / 420 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002828/0.03134, allocations: 1.486 MB / 421.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.03302, allocations: 0.9262 MB / 422.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.03433, allocations: 0.873 MB / 423.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000792/0.03512, allocations: 0.5765 MB / 423.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.0353, allocations: 116 kB / 424 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000857/0.03616, allocations: 319.6 kB / 424.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002883/0.03645, allocations: 314.7 kB / 424.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005729/0.03702, allocations: 462.8 kB / 425.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.03935, allocations: 1.822 MB / 426.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.03935, allocations: 0 / 426.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.03935, allocations: 0 / 426.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.03937, allocations: 0 / 426.9 MB, free: 15.41 MB / 366.1 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.008568/0.04794, allocations: 2.354 MB / 429.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.04799, allocations: 8.031 kB / 429.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.05957, allocations: 1.499 MB / 430.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.06147, allocations: 0.5638 MB / 431.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.0616, allocations: 107.1 kB / 431.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.06185, allocations: 136.3 kB / 431.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.06511, allocations: 1.624 MB / 433.2 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.326e-05/0.06516, allocations: 12.12 kB / 433.2 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.0653, allocations: 55.94 kB / 433.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/0.06535, allocations: 36 kB / 433.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.06845, allocations: 1.564 MB / 434.8 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00964/0.07809, allocations: 4.317 MB / 439.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.08033, allocations: 1.096 MB / 440.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.0814, allocations: 0.5509 MB / 440.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.08152, allocations: 28.98 kB / 440.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.08158, allocations: 55.48 kB / 440.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=129): time 4.028e-06/0.08158, allocations: 0 / 440.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.0107/0.09229, allocations: 3.056 MB / 443.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.09237, allocations: 98.05 kB / 444 MB, free: 13.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.09307, allocations: 437.7 kB / 444.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/0.09317, allocations: 45.7 kB / 444.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.09359, allocations: 0.4929 MB / 445 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/0.09407, allocations: 444.1 kB / 445.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.09448, allocations: 226.8 kB / 445.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.09472, allocations: 378.8 kB / 446 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009062/0.09562, allocations: 467.1 kB / 446.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.09685, allocations: 0.7481 MB / 447.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.09923, allocations: 1.259 MB / 448.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.09924, allocations: 0 / 448.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003667/0.1029, allocations: 1.639 MB / 450.1 MB, free: 7.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.1029, allocations: 12 kB / 450.1 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.103, allocations: 8.469 kB / 450.1 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.1046, allocations: 0.5327 MB / 450.7 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/0.1055, allocations: 211.7 kB / 450.9 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002347/0.1058, allocations: 61.25 kB / 450.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/0.1066, allocations: 127.1 kB / 451.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.1067, allocations: 52 kB / 451.1 MB, free: 6.57 MB / 382.1 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.0006255/0.1074, allocations: 273.5 kB / 451.4 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.1076, allocations: 83.48 kB / 451.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.1107, allocations: 1.559 MB / 453 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.1107, allocations: 16 kB / 453 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1107, allocations: 3.938 kB / 453 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.1107, allocations: 7.922 kB / 453 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/0.1155, allocations: 2.504 MB / 455.6 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.1155, allocations: 4 kB / 455.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.1162, allocations: 147.7 kB / 455.7 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.1178, allocations: 0.5155 MB / 456.2 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.3e-05/0.1178, allocations: 27.98 kB / 456.2 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001074/0.1179, allocations: 28.84 kB / 456.3 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.118, allocations: 3.938 kB / 456.3 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/0.1221, allocations: 2.275 MB / 458.6 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.1226, allocations: 203 kB / 458.7 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.1228, allocations: 20 kB / 458.8 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.1235, allocations: 55.97 kB / 458.8 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.1237, allocations: 85.09 kB / 458.9 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.1238, allocations: 35.98 kB / 458.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003704/0.1241, allocations: 279.1 kB / 459.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1241, allocations: 0 / 459.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001139/0.1253, allocations: 359.2 kB / 459.6 MB, free: 14.02 MB / 398.1 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.0003728/0.1256, allocations: 159.1 kB / 459.7 MB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0033/0.1289, allocations: 1.302 MB / 461 MB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1289, allocations: 448 / 461 MB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.1309, allocations: 0.6839 MB / 461.7 MB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.1317, allocations: 101.8 kB / 461.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.1362, allocations: 2.07 MB / 463.9 MB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.1368, allocations: 471.1 kB / 464.3 MB, free: 9.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005167/0.1374, allocations: 110.8 kB / 464.4 MB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.1376, allocations: 68.48 kB / 464.5 MB, free: 8.992 MB / 398.1 MB Notification: Performance of SimCode: time 1.001e-06/0.1376, allocations: 0 / 464.5 MB, free: 8.992 MB / 398.1 MB Notification: Performance of Templates: time 0.2276/0.3652, allocations: 12.1 MB / 476.6 MB, free: 69.76 MB / 398.1 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: 6.157959744334221]