Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001442/0.001442, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001539/0.001539, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.593/1.593, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3535/0.3535, allocations: 32.79 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.341e-05/4.544e-05, allocations: 9.344 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01029/0.01033, allocations: 6.825 MB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005347/0.01568, allocations: 2.298 MB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000756/0.01644, allocations: 27.94 kB / 384.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004507/0.02094, allocations: 1.777 MB / 386.2 MB, free: 10 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.02357, allocations: 0.7181 MB / 386.9 MB, free: 9.277 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.02695, allocations: 1.032 MB / 387.9 MB, free: 8.242 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.02951, allocations: 1.451 MB / 389.4 MB, free: 6.781 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.03113, allocations: 0.9221 MB / 390.3 MB, free: 5.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.03237, allocations: 0.8536 MB / 391.2 MB, free: 4.984 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000819/0.03319, allocations: 0.5688 MB / 391.7 MB, free: 4.414 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.03338, allocations: 112 kB / 391.8 MB, free: 4.305 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008181/0.0342, allocations: 319.6 kB / 392.2 MB, free: 3.992 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.03449, allocations: 310.8 kB / 392.5 MB, free: 3.688 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005705/0.03506, allocations: 454.8 kB / 392.9 MB, free: 3.242 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.03767, allocations: 1.814 MB / 394.7 MB, free: 1.422 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.03767, allocations: 0 / 394.7 MB, free: 1.422 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.03768, allocations: 0 / 394.7 MB, free: 1.422 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.03769, allocations: 4 kB / 394.7 MB, free: 1.418 MB / 362.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.00805/0.04574, allocations: 2.323 MB / 397 MB, free: 15.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.04579, allocations: 12.03 kB / 397.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.05594, allocations: 1.631 MB / 398.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.05755, allocations: 0.5638 MB / 399.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.05766, allocations: 103 kB / 399.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.05792, allocations: 136.3 kB / 399.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/0.06114, allocations: 1.591 MB / 401.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.06118, allocations: 4.188 kB / 401.1 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.06133, allocations: 59.94 kB / 401.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.06138, allocations: 36 kB / 401.2 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/0.06466, allocations: 1.497 MB / 402.7 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008777/0.07344, allocations: 4.316 MB / 407 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.0757, allocations: 1.079 MB / 408.1 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.07681, allocations: 0.554 MB / 408.6 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.07696, allocations: 48.91 kB / 408.7 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.07702, allocations: 43.56 kB / 408.7 MB, free: 3.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.576e-06/0.07702, allocations: 0 / 408.7 MB, free: 3.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.009921/0.08695, allocations: 3.049 MB / 411.8 MB, free: 76 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.08705, allocations: 90.11 kB / 411.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.08768, allocations: 421.7 kB / 412.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.091e-05/0.08777, allocations: 45.7 kB / 412.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.08819, allocations: 476.9 kB / 412.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004942/0.08869, allocations: 448.2 kB / 413.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.08909, allocations: 214.8 kB / 413.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002517/0.08935, allocations: 382.7 kB / 413.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000962/0.09031, allocations: 462.4 kB / 414.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.09153, allocations: 0.6919 MB / 414.9 MB, free: 12.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.09389, allocations: 1.213 MB / 416.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.0939, allocations: 0 / 416.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003433/0.09733, allocations: 1.625 MB / 417.8 MB, free: 9.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.09736, allocations: 9.875 kB / 417.8 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.09737, allocations: 8 kB / 417.8 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/0.09911, allocations: 0.5296 MB / 418.3 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/0.09994, allocations: 199.6 kB / 418.5 MB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002105/0.1002, allocations: 57.27 kB / 418.6 MB, free: 9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/0.1009, allocations: 119.1 kB / 418.7 MB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.101, allocations: 51.98 kB / 418.7 MB, free: 8.832 MB / 394.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.0005572/0.1016, allocations: 273.5 kB / 419 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.1018, allocations: 115.5 kB / 419.1 MB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.1051, allocations: 1.548 MB / 420.7 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.1051, allocations: 12 kB / 420.7 MB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1051, allocations: 4 kB / 420.7 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.1051, allocations: 3.984 kB / 420.7 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004993/0.1101, allocations: 2.489 MB / 423.2 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.1101, allocations: 0 / 423.2 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.1109, allocations: 143.8 kB / 423.3 MB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.1125, allocations: 0.5233 MB / 423.8 MB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.848e-05/0.1126, allocations: 28 kB / 423.9 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003315/0.1129, allocations: 68.78 kB / 423.9 MB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1129, allocations: 0 / 423.9 MB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00501/0.1179, allocations: 2.357 MB / 426.3 MB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/0.1186, allocations: 207.1 kB / 426.5 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.1187, allocations: 20 kB / 426.5 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.1194, allocations: 48.03 kB / 426.6 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/0.1196, allocations: 81.16 kB / 426.6 MB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.707e-05/0.1197, allocations: 39.98 kB / 426.7 MB, free: 0.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004382/0.1202, allocations: 275.1 kB / 426.9 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1202, allocations: 3.938 kB / 426.9 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001279/0.1215, allocations: 351.2 kB / 427.3 MB, free: 180 kB / 394.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.000435/0.1219, allocations: 171 kB / 427.5 MB, free: 0 / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.1254, allocations: 1.278 MB / 428.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1254, allocations: 4 kB / 428.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.1273, allocations: 0.6778 MB / 429.4 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008703/0.1282, allocations: 117.9 kB / 429.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.1329, allocations: 2.076 MB / 431.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.1335, allocations: 458.3 kB / 432.1 MB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005302/0.1341, allocations: 98.45 kB / 432.1 MB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.1343, allocations: 72.47 kB / 432.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1343, allocations: 0 / 432.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of Templates: time 0.1898/0.3241, allocations: 12.27 MB / 444.5 MB, free: 102.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.746198244043626]