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.001483/0.001483, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.002124/0.002124, allocations: 209.1 kB / 23.74 MB, free: 4.543 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.585/1.585, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.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.2854/0.2854, allocations: 44.26 MB / 331.1 MB, free: 9.32 MB / 270.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 79.89 kB / 468.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1641, allocations: 61.04 MB / 0.5174 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01277/0.1769, allocations: 6.794 MB / 0.524 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00654/0.1835, allocations: 2.26 MB / 0.5262 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.185, allocations: 31.94 kB / 0.5262 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005504/0.1905, allocations: 1.688 MB / 0.5279 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.1939, allocations: 0.7223 MB / 0.5286 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.1972, allocations: 1.028 MB / 0.5296 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003271/0.2005, allocations: 1.448 MB / 0.531 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.203, allocations: 0.9107 MB / 0.5319 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.2045, allocations: 0.6345 MB / 0.5325 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.206, allocations: 0.6611 MB / 0.5332 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005223/0.2066, allocations: 112 kB / 0.5333 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.208, allocations: 315.8 kB / 0.5336 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006049/0.2086, allocations: 310.8 kB / 0.5339 GB, free: 5.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.21, allocations: 0.5482 MB / 0.5344 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003659/0.2136, allocations: 1.794 MB / 0.5362 GB, free: 3.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2136, allocations: 0 / 0.5362 GB, free: 3.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2137, allocations: 0 / 0.5362 GB, free: 3.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.786e-05/0.2137, allocations: 4 kB / 0.5362 GB, free: 3.328 MB / 414.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.0095/0.2232, allocations: 2.354 MB / 0.5385 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.2233, allocations: 12.03 kB / 0.5385 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3296/0.5529, allocations: 1.495 MB / 0.5399 GB, free: 28.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.5547, allocations: 0.5674 MB / 0.5405 GB, free: 28.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.5548, allocations: 101.8 kB / 0.5406 GB, free: 28.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.555, allocations: 132.8 kB / 0.5407 GB, free: 28.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003105/0.5581, allocations: 1.631 MB / 0.5423 GB, free: 27.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.5582, allocations: 6.578 kB / 0.5423 GB, free: 27.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.5583, allocations: 58.06 kB / 0.5424 GB, free: 27.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.5584, allocations: 36.78 kB / 0.5424 GB, free: 27.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/0.5613, allocations: 1.568 MB / 0.5439 GB, free: 27.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00861/0.5699, allocations: 4.32 MB / 0.5482 GB, free: 24.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.5723, allocations: 1.096 MB / 0.5492 GB, free: 24.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.5734, allocations: 0.5507 MB / 0.5498 GB, free: 24.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.5735, allocations: 32.36 kB / 0.5498 GB, free: 24.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.5736, allocations: 46.31 kB / 0.5498 GB, free: 24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.568e-06/0.5736, allocations: 0 / 0.5498 GB, free: 24 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.01053/0.5841, allocations: 3.055 MB / 0.5528 GB, free: 23.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.5842, allocations: 99.55 kB / 0.5529 GB, free: 23.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/0.585, allocations: 438 kB / 0.5533 GB, free: 22.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.5851, allocations: 46.2 kB / 0.5534 GB, free: 22.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.5855, allocations: 0.5018 MB / 0.5539 GB, free: 22.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.5859, allocations: 448.2 kB / 0.5543 GB, free: 22.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000488/0.5864, allocations: 229.3 kB / 0.5545 GB, free: 21.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5865, allocations: 378.4 kB / 0.5549 GB, free: 21.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009551/0.5875, allocations: 465.7 kB / 0.5553 GB, free: 21.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.5887, allocations: 0.7467 MB / 0.5561 GB, free: 20.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.5907, allocations: 1.258 MB / 0.5573 GB, free: 20.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.5907, allocations: 7.438 kB / 0.5573 GB, free: 20.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003417/0.5942, allocations: 1.634 MB / 0.5589 GB, free: 19.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.5942, allocations: 12.31 kB / 0.5589 GB, free: 19.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.5942, allocations: 9.344 kB / 0.5589 GB, free: 19.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.5959, allocations: 0.529 MB / 0.5594 GB, free: 19.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/0.5969, allocations: 213.2 kB / 0.5596 GB, free: 19.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002657/0.5972, allocations: 63.55 kB / 0.5597 GB, free: 19.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008998/0.598, allocations: 130.2 kB / 0.5598 GB, free: 19.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.5982, allocations: 57.3 kB / 0.5599 GB, free: 19.07 MB / 414.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.0006594/0.5989, allocations: 270.6 kB / 0.5601 GB, free: 18.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.5991, allocations: 83.36 kB / 0.5602 GB, free: 18.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/0.6027, allocations: 1.555 MB / 0.5617 GB, free: 18.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/0.6027, allocations: 24.7 kB / 0.5617 GB, free: 18.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.6027, allocations: 0 / 0.5617 GB, free: 18.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.6028, allocations: 7.156 kB / 0.5617 GB, free: 18.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/0.6082, allocations: 2.505 MB / 0.5642 GB, free: 16.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.6082, allocations: 1.219 kB / 0.5642 GB, free: 16.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000737/0.6089, allocations: 142.2 kB / 0.5643 GB, free: 16.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/0.6106, allocations: 0.5238 MB / 0.5648 GB, free: 16.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.6107, allocations: 25.05 kB / 0.5649 GB, free: 16.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001112/0.6108, allocations: 27.5 kB / 0.5649 GB, free: 16.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6108, allocations: 1.891 kB / 0.5649 GB, free: 16.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004422/0.6152, allocations: 2.271 MB / 0.5671 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006914/0.6159, allocations: 207.6 kB / 0.5673 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.6161, allocations: 27.14 kB / 0.5673 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007835/0.6169, allocations: 48.77 kB / 0.5674 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.6172, allocations: 80.69 kB / 0.5675 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.825e-05/0.6172, allocations: 37.41 kB / 0.5675 GB, free: 15.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004821/0.6177, allocations: 281.3 kB / 0.5678 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6177, allocations: 1.281 kB / 0.5678 GB, free: 15.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001579/0.6193, allocations: 353.8 kB / 0.5681 GB, free: 15.02 MB / 414.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.0004288/0.6197, allocations: 165.7 kB / 0.5683 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.6235, allocations: 1.301 MB / 0.5695 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6235, allocations: 2.594 kB / 0.5695 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.6255, allocations: 0.6823 MB / 0.5702 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.6265, allocations: 99.25 kB / 0.5703 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/0.632, allocations: 2.168 MB / 0.5724 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.6328, allocations: 464.8 kB / 0.5729 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.6332, allocations: 77.44 kB / 0.5729 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.342e-06/0.6332, allocations: 0 / 0.5729 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Templates: time 0.03058/0.6637, allocations: 17.2 MB / 0.5897 GB, free: 14.62 MB / 430.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/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: 8.955856483895332]