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.0008881/0.0008881, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0009215/0.0009215, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.855/0.855, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1288/0.1288, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.483e-06/1.483e-06, allocations: 0 / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.031e-05, allocations: 9.875 kB / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005875/0.005905, allocations: 6.798 MB / 414.9 MB, free: 6.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004145/0.01005, allocations: 2.255 MB / 417.2 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008321/0.01088, allocations: 31.94 kB / 417.2 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.01312, allocations: 1.784 MB / 419 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.0149, allocations: 0.7415 MB / 419.7 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.01645, allocations: 1.04 MB / 420.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.0182, allocations: 1.49 MB / 422.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.01969, allocations: 0.9223 MB / 423.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.02086, allocations: 0.873 MB / 424 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000712/0.02157, allocations: 0.5726 MB / 424.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.02175, allocations: 112 kB / 424.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006393/0.02239, allocations: 323.5 kB / 425 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.02253, allocations: 310.8 kB / 425.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.02292, allocations: 470.8 kB / 425.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.02463, allocations: 1.818 MB / 427.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.02463, allocations: 0 / 427.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.02464, allocations: 0 / 427.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.031e-05/0.02468, allocations: 0 / 427.6 MB, free: 9.398 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.004576/0.02925, allocations: 2.354 MB / 430 MB, free: 7.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.0293, allocations: 16.02 kB / 430 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/0.03427, allocations: 1.495 MB / 431.5 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.0353, allocations: 0.5599 MB / 432 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/0.03537, allocations: 107.1 kB / 432.2 MB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.03552, allocations: 136.3 kB / 432.3 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.03741, allocations: 1.628 MB / 433.9 MB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.03745, allocations: 4.172 kB / 433.9 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.03754, allocations: 67.86 kB / 434 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.03757, allocations: 40 kB / 434 MB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.03948, allocations: 1.556 MB / 435.6 MB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1706/0.21, allocations: 4.311 MB / 439.9 MB, free: 36.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.2113, allocations: 1.094 MB / 441 MB, free: 36.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006539/0.2119, allocations: 0.5602 MB / 441.5 MB, free: 36.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.607e-05/0.212, allocations: 22.91 kB / 441.6 MB, free: 36.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.212, allocations: 50.89 kB / 441.6 MB, free: 36.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.298e-06/0.212, allocations: 0 / 441.6 MB, free: 36.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=129): time 0.005692/0.2177, allocations: 3.057 MB / 444.7 MB, free: 35.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.2178, allocations: 90.92 kB / 444.8 MB, free: 35.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.2182, allocations: 441.8 kB / 445.2 MB, free: 34.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.2182, allocations: 45.77 kB / 445.2 MB, free: 34.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.2184, allocations: 0.4941 MB / 445.7 MB, free: 34.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.2186, allocations: 448.3 kB / 446.2 MB, free: 34.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.2189, allocations: 228.1 kB / 446.4 MB, free: 34.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.219, allocations: 384.7 kB / 446.8 MB, free: 33.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/0.2195, allocations: 462.6 kB / 447.2 MB, free: 33.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.2203, allocations: 0.7452 MB / 448 MB, free: 33.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.2217, allocations: 1.267 MB / 449.2 MB, free: 32.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.2217, allocations: 2.562 kB / 449.2 MB, free: 32.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002083/0.2238, allocations: 1.639 MB / 450.9 MB, free: 31.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.2238, allocations: 8.75 kB / 450.9 MB, free: 31.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.2238, allocations: 8.688 kB / 450.9 MB, free: 31.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.2249, allocations: 0.5257 MB / 451.4 MB, free: 31.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.2254, allocations: 214.2 kB / 451.6 MB, free: 31.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000131/0.2255, allocations: 60.5 kB / 451.7 MB, free: 31.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.226, allocations: 127.2 kB / 451.8 MB, free: 31.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.226, allocations: 51.16 kB / 451.9 MB, free: 31.22 MB / 362.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.0004156/0.2264, allocations: 280.3 kB / 452.1 MB, free: 31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2265, allocations: 83.25 kB / 452.2 MB, free: 30.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.2284, allocations: 1.557 MB / 453.8 MB, free: 30.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.2284, allocations: 13.84 kB / 453.8 MB, free: 30.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2284, allocations: 0 / 453.8 MB, free: 30.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.2284, allocations: 10.83 kB / 453.8 MB, free: 30.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.2312, allocations: 2.506 MB / 456.3 MB, free: 28.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2312, allocations: 1.25 kB / 456.3 MB, free: 28.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.2315, allocations: 144 kB / 456.4 MB, free: 28.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007917/0.2323, allocations: 0.525 MB / 457 MB, free: 28.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.2324, allocations: 25.41 kB / 457 MB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.781e-05/0.2324, allocations: 23.38 kB / 457 MB, free: 28.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2324, allocations: 4.562 kB / 457 MB, free: 28.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.2345, allocations: 2.285 MB / 459.3 MB, free: 27.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.2347, allocations: 199.8 kB / 459.5 MB, free: 27.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.2348, allocations: 23.59 kB / 459.5 MB, free: 27.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.2351, allocations: 44.77 kB / 459.6 MB, free: 27.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.2352, allocations: 89.22 kB / 459.7 MB, free: 27.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.2352, allocations: 37.27 kB / 459.7 MB, free: 27.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.2354, allocations: 282.3 kB / 460 MB, free: 27.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2354, allocations: 0 / 460 MB, free: 27.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005981/0.236, allocations: 360.9 kB / 460.3 MB, free: 27.16 MB / 362.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.0002114/0.2362, allocations: 156.8 kB / 460.5 MB, free: 27.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.2377, allocations: 1.305 MB / 461.8 MB, free: 26.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2377, allocations: 0 / 461.8 MB, free: 26.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.2385, allocations: 0.6823 MB / 462.5 MB, free: 26.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.2389, allocations: 101.3 kB / 462.6 MB, free: 26.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.2409, allocations: 2.116 MB / 464.7 MB, free: 24.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.2411, allocations: 469 kB / 465.1 MB, free: 23.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.2413, allocations: 72.48 kB / 465.2 MB, free: 23.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2413, allocations: 0 / 465.2 MB, free: 23.62 MB / 362.7 MB Notification: Performance of Templates: time 0.01014/0.2514, allocations: 17.18 MB / 482.4 MB, free: 6.418 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=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.262065743096173]