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.00198/0.00198, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002298/0.002298, allocations: 165.2 kB / 23.52 MB, free: 0.9023 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.543/1.543, 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.2249/0.2249, 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.505e-06/2.505e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.392e-05, allocations: 6.25 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.00744/0.007474, allocations: 7.441 MB / 354.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0045/0.01197, allocations: 2.295 MB / 356.7 MB, free: 32 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006834/0.01266, allocations: 31.94 kB / 356.7 MB, free: 0 / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004821/0.01748, allocations: 1.909 MB / 358.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.01979, allocations: 0.7492 MB / 359.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.02234, allocations: 1.036 MB / 360.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002094/0.02444, allocations: 1.483 MB / 361.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.02597, allocations: 0.9222 MB / 362.8 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.02717, allocations: 0.8769 MB / 363.7 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009324/0.0281, allocations: 0.5843 MB / 364.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.02832, allocations: 116 kB / 364.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008653/0.02919, allocations: 323.6 kB / 364.7 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.02954, allocations: 310.8 kB / 365 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006039/0.03014, allocations: 470.8 kB / 365.5 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.03288, allocations: 1.83 MB / 367.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.03289, allocations: 0 / 367.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.03289, allocations: 0 / 367.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.03291, allocations: 0 / 367.3 MB, free: 5.359 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.007986/0.04089, allocations: 2.56 MB / 369.8 MB, free: 2.754 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.04094, allocations: 8.031 kB / 369.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/0.05171, allocations: 1.842 MB / 371.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.05328, allocations: 0.5822 MB / 372.3 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.0534, allocations: 99.09 kB / 372.4 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.05366, allocations: 140.4 kB / 372.5 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.05739, allocations: 1.676 MB / 374.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.05744, allocations: 8.109 kB / 374.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.0576, allocations: 59.94 kB / 374.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.05765, allocations: 40 kB / 374.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.06087, allocations: 1.506 MB / 375.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.07168, allocations: 5.042 MB / 380.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.07419, allocations: 1.128 MB / 382 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.0753, allocations: 0.5759 MB / 382.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.07545, allocations: 32.98 kB / 382.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/0.07551, allocations: 50.39 kB / 382.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 3.847e-06/0.07551, allocations: 0 / 382.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.01061/0.08612, allocations: 3.074 MB / 385.7 MB, free: 2.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.08621, allocations: 94.05 kB / 385.8 MB, free: 2.492 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.08705, allocations: 0.5571 MB / 386.4 MB, free: 1.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.08715, allocations: 45.7 kB / 386.4 MB, free: 1.867 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.0877, allocations: 0.5581 MB / 387 MB, free: 1.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000849/0.08855, allocations: 476.1 kB / 387.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005138/0.08906, allocations: 264.5 kB / 387.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004466/0.08951, allocations: 0.5899 MB / 388.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.09051, allocations: 443.1 kB / 388.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.09193, allocations: 0.8503 MB / 389.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.09439, allocations: 1.365 MB / 390.9 MB, free: 13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.0944, allocations: 4 kB / 390.9 MB, free: 13 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003665/0.09806, allocations: 1.681 MB / 392.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.09811, allocations: 8 kB / 392.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.09813, allocations: 8 kB / 392.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/0.09993, allocations: 0.54 MB / 393.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009193/0.1008, allocations: 211.7 kB / 393.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002604/0.1011, allocations: 72.03 kB / 393.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008284/0.1019, allocations: 131 kB / 393.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.102, allocations: 52 kB / 393.6 MB, free: 10.29 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.000607/0.1027, allocations: 320.3 kB / 393.9 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.1029, allocations: 123.5 kB / 394 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.1066, allocations: 1.565 MB / 395.6 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.1066, allocations: 12 kB / 395.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.1067, allocations: 11.88 kB / 395.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.1067, allocations: 7.969 kB / 395.6 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005885/0.1126, allocations: 2.712 MB / 398.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.1126, allocations: 0 / 398.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/0.1133, allocations: 147.8 kB / 398.5 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/0.115, allocations: 0.5299 MB / 399 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.1151, allocations: 27.98 kB / 399.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001455/0.1153, allocations: 31.69 kB / 399.1 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.1153, allocations: 3.984 kB / 399.1 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004656/0.1199, allocations: 2.343 MB / 401.4 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009952/0.1209, allocations: 203 kB / 401.6 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.1211, allocations: 27.98 kB / 401.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/0.1217, allocations: 47.92 kB / 401.7 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.1219, allocations: 85.19 kB / 401.8 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/0.122, allocations: 35.98 kB / 401.8 MB, free: 1.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005606/0.1226, allocations: 343 kB / 402.2 MB, free: 1.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1226, allocations: 4 kB / 402.2 MB, free: 1.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001257/0.1238, allocations: 355.2 kB / 402.5 MB, free: 1.277 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.0004059/0.1242, allocations: 163 kB / 402.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003795/0.128, allocations: 1.349 MB / 404 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.128, allocations: 1.312 kB / 404 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.13, allocations: 0.7381 MB / 404.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.1309, allocations: 133.7 kB / 404.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.1353, allocations: 2.119 MB / 407 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.1358, allocations: 467.1 kB / 407.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004773/0.1363, allocations: 110.8 kB / 407.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.1365, allocations: 64.48 kB / 407.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of SimCode: time 2.084e-06/0.1365, allocations: 0 / 407.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of Templates: time 0.02783/0.1644, allocations: 12.23 MB / 419.9 MB, free: 15.91 MB / 362.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","/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.886144515010528]