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.001525/0.001525, allocations: 82.27 kB / 20.68 MB, free: 1.039 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.001641/0.001641, allocations: 163.1 kB / 23.95 MB, free: 4.168 MB / 14.72 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.397/1.397, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.2012/0.2012, allocations: 32.8 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] 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 1.433e-06/1.433e-06, allocations: 3.938 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.344e-05, allocations: 2.281 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.0085/0.008524, allocations: 6.806 MB / 446.9 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1878/0.1963, allocations: 2.298 MB / 449.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006385/0.1969, allocations: 31.59 kB / 449.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.2005, allocations: 1.778 MB / 451 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.202, allocations: 0.7324 MB / 451.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.2039, allocations: 1.03 MB / 452.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.2052, allocations: 1.458 MB / 454.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.2063, allocations: 0.9137 MB / 455.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008917/0.2072, allocations: 0.8615 MB / 456 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006387/0.2078, allocations: 0.5591 MB / 456.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.208, allocations: 113.4 kB / 456.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006285/0.2086, allocations: 333.7 kB / 457 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.2088, allocations: 297 kB / 457.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004203/0.2092, allocations: 461.3 kB / 457.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.211, allocations: 1.812 MB / 459.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.211, allocations: 0 / 459.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.211, allocations: 0 / 459.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.2111, allocations: 1.031 kB / 459.5 MB, free: 12.38 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007316/0.2184, allocations: 2.324 MB / 461.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2184, allocations: 11.14 kB / 461.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00969/0.2281, allocations: 1.334 MB / 463.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.2292, allocations: 0.5472 MB / 463.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.2293, allocations: 108.8 kB / 463.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.2295, allocations: 134.8 kB / 464 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.2319, allocations: 1.588 MB / 465.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.232, allocations: 2.688 kB / 465.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.2321, allocations: 64.52 kB / 465.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/0.2321, allocations: 32.25 kB / 465.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.2345, allocations: 1.512 MB / 467.2 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006262/0.2408, allocations: 4.273 MB / 471.5 MB, free: 6.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.2425, allocations: 1.075 MB / 472.5 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/0.2434, allocations: 0.5493 MB / 473.1 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.2435, allocations: 38.84 kB / 473.1 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2435, allocations: 46.25 kB / 473.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=127): time 3.467e-06/0.2436, allocations: 0 / 473.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=127): time 0.008489/0.252, allocations: 2.995 MB / 476.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.2521, allocations: 92.09 kB / 476.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.2525, allocations: 419 kB / 476.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.2525, allocations: 46.95 kB / 476.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.2527, allocations: 485.7 kB / 477.2 MB, free: 3.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.2529, allocations: 438.6 kB / 477.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.2532, allocations: 215.4 kB / 477.8 MB, free: 2.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.2533, allocations: 378.5 kB / 478.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/0.254, allocations: 461.2 kB / 478.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007735/0.2547, allocations: 0.6932 MB / 479.3 MB, free: 1.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.2563, allocations: 1.204 MB / 480.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.2563, allocations: 6.906 kB / 480.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002631/0.2589, allocations: 1.576 MB / 482.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.2589, allocations: 11.98 kB / 482.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.259, allocations: 8 kB / 482.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.2606, allocations: 0.5252 MB / 482.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008203/0.2614, allocations: 199.7 kB / 482.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002055/0.2616, allocations: 53.27 kB / 482.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000749/0.2623, allocations: 123.1 kB / 483 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.2624, allocations: 47.98 kB / 483.1 MB, free: 14.6 MB / 382.1 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.0005001/0.2629, allocations: 277.4 kB / 483.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.2631, allocations: 79.47 kB / 483.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.2661, allocations: 1.548 MB / 485 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.2661, allocations: 12 kB / 485 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2661, allocations: 0 / 485 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.2661, allocations: 3.984 kB / 485 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004573/0.2707, allocations: 2.496 MB / 487.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.2707, allocations: 4 kB / 487.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/0.2714, allocations: 139.8 kB / 487.6 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.2729, allocations: 0.531 MB / 488.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.273, allocations: 24 kB / 488.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003198/0.2733, allocations: 64.8 kB / 488.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.2733, allocations: 3.984 kB / 488.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/0.2775, allocations: 2.316 MB / 490.6 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.278, allocations: 195.2 kB / 490.8 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.2781, allocations: 23.94 kB / 490.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.2787, allocations: 55.84 kB / 490.8 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.2789, allocations: 81.22 kB / 490.9 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/0.279, allocations: 43.98 kB / 491 MB, free: 6.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003145/0.2793, allocations: 267.2 kB / 491.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2793, allocations: 0 / 491.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001/0.2803, allocations: 359.1 kB / 491.6 MB, free: 6.047 MB / 382.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 (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.0002996/0.2806, allocations: 158.7 kB / 491.7 MB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002953/0.2835, allocations: 1.281 MB / 493 MB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2835, allocations: 0 / 493 MB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.2853, allocations: 0.6802 MB / 493.7 MB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.286, allocations: 89.94 kB / 493.8 MB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.2897, allocations: 2.061 MB / 495.8 MB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.2901, allocations: 454.3 kB / 496.3 MB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004001/0.2905, allocations: 106.4 kB / 496.4 MB, free: 1.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.2907, allocations: 68.47 kB / 496.5 MB, free: 1.094 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2907, allocations: 0 / 496.5 MB, free: 1.094 MB / 382.1 MB Notification: Performance of Templates: time 0.02238/0.3131, allocations: 12.22 MB / 0.4968 GB, free: 5.043 MB / 398.1 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.2206520810723305]