Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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.001043/0.001043, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.00104/0.00104, allocations: 163.8 kB / 24.99 MB, free: 8.254 MB / 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.108/1.108, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2897/0.2897, allocations: 32.81 MB / 294.6 MB, free: 1.273 MB / 266.7 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.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.631e-05, allocations: 2.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01737/0.01739, allocations: 18.97 MB / 395 MB, free: 1.914 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009104/0.0265, allocations: 4.947 MB / 399.9 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.02817, allocations: 191 kB / 400.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007797/0.03597, allocations: 8.303 MB / 408.4 MB, free: 4.426 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.03989, allocations: 2.144 MB / 410.6 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.04183, allocations: 1.391 MB / 411.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008978/0.05081, allocations: 12.64 MB / 424.6 MB, free: 4.191 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01721/0.06803, allocations: 16.8 MB / 441.4 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1878/0.2558, allocations: 9.812 MB / 451.2 MB, free: 57.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01188/0.2677, allocations: 7.19 MB / 458.4 MB, free: 57.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005697/0.2734, allocations: 1.722 MB / 460.1 MB, free: 57.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.2837, allocations: 1.915 MB / 462 MB, free: 57.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00648/0.2902, allocations: 3.798 MB / 465.8 MB, free: 57.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01258/0.3028, allocations: 4.773 MB / 470.6 MB, free: 57.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02117/0.3239, allocations: 12 MB / 482.6 MB, free: 52.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.324, allocations: 0 / 482.6 MB, free: 52.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.324, allocations: 0 / 482.6 MB, free: 52.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008166/0.3248, allocations: 0 / 482.6 MB, free: 52.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03786/0.3626, allocations: 15.83 MB / 498.4 MB, free: 44.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.3627, allocations: 9.688 kB / 498.4 MB, free: 44.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04232/0.405, allocations: 13.37 MB / 0.4998 GB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/0.4202, allocations: 6.825 MB / 0.5065 GB, free: 38.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008434/0.4211, allocations: 0.8883 MB / 0.5073 GB, free: 37.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005484/0.4266, allocations: 1.186 MB / 0.5085 GB, free: 36.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03431/0.4609, allocations: 8.428 MB / 0.5167 GB, free: 28.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004168/0.4613, allocations: 15.89 kB / 0.5167 GB, free: 28.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00385/0.4651, allocations: 495.7 kB / 0.5172 GB, free: 28.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004679/0.4656, allocations: 0.6577 MB / 0.5178 GB, free: 27.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/0.4906, allocations: 6.208 MB / 0.5239 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09987/0.5905, allocations: 46.61 MB / 0.5694 GB, free: 6.695 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.603, allocations: 7.37 MB / 0.5766 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003707/0.6067, allocations: 1.58 MB / 0.5782 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/0.6073, allocations: 224.9 kB / 0.5784 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.6075, allocations: 110.1 kB / 0.5785 GB, free: 13.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=653): time 1.005e-05/0.6075, allocations: 0 / 0.5785 GB, free: 13.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=653): time 0.01055/0.618, allocations: 4.78 MB / 0.5832 GB, free: 9.035 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.6181, allocations: 120.5 kB / 0.5833 GB, free: 8.902 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006287/0.6244, allocations: 3.563 MB / 0.5868 GB, free: 5.324 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001317/0.6257, allocations: 129.7 kB / 0.5869 GB, free: 5.191 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003202/0.6289, allocations: 4.982 MB / 0.5917 GB, free: 196 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003238/0.6321, allocations: 2.381 MB / 0.5941 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00234/0.6345, allocations: 1.652 MB / 0.5957 GB, free: 12.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6346, allocations: 488 kB / 0.5961 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/0.6371, allocations: 1.049 MB / 0.5972 GB, free: 10.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004691/0.6417, allocations: 5.273 MB / 0.6023 GB, free: 3.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2344/0.8761, allocations: 7.112 MB / 0.6093 GB, free: 126.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000246/0.8764, allocations: 31.22 kB / 0.6093 GB, free: 126.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02197/0.8983, allocations: 6.039 MB / 0.6152 GB, free: 125.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.8985, allocations: 43.94 kB / 0.6152 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001885/0.8987, allocations: 92.72 kB / 0.6153 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.8998, allocations: 434 kB / 0.6157 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005704/0.9055, allocations: 2.011 MB / 0.6177 GB, free: 125.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004497/0.91, allocations: 10.88 MB / 0.6283 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006507/0.9166, allocations: 1.018 MB / 0.6293 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002268/0.9188, allocations: 381.1 kB / 0.6297 GB, free: 114.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00744/0.9263, allocations: 0.6909 MB / 0.6304 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/0.9282, allocations: 0.673 MB / 0.631 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009202/0.9374, allocations: 5.867 MB / 0.6367 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.863e-05/0.9374, allocations: 66.47 kB / 0.6368 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/0.9374, allocations: 0 / 0.6368 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.624e-05/0.9375, allocations: 37.16 kB / 0.6368 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06409/1.002, allocations: 24.34 MB / 0.6606 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001944/1.002, allocations: 90.53 kB / 0.6607 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004002/1.006, allocations: 1.554 MB / 0.6622 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009742/1.007, allocations: 392.7 kB / 0.6626 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001436/1.008, allocations: 263.3 kB / 0.6628 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004588/1.013, allocations: 10.79 MB / 0.6734 GB, free: 96.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.336e-05/1.013, allocations: 141.5 kB / 0.6735 GB, free: 96.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/1.028, allocations: 10.62 MB / 0.6839 GB, free: 86.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003877/1.032, allocations: 1.37 MB / 0.6852 GB, free: 85.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/1.033, allocations: 246.3 kB / 0.6855 GB, free: 84.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004168/1.037, allocations: 0.5462 MB / 0.686 GB, free: 84.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/1.039, allocations: 0.7619 MB / 0.6867 GB, free: 84.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000618/1.039, allocations: 323.5 kB / 0.687 GB, free: 83.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003352/1.043, allocations: 1.594 MB / 0.6886 GB, free: 82.44 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/1.043, allocations: 0 / 0.6886 GB, free: 82.44 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0118/1.054, allocations: 2.943 MB / 0.6915 GB, free: 79.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001829/1.056, allocations: 0.4929 MB / 0.6919 GB, free: 78.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01348/1.07, allocations: 5.63 MB / 0.6974 GB, free: 73.83 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001222/1.07, allocations: 18.73 kB / 0.6975 GB, free: 73.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005787/1.076, allocations: 3.277 MB / 0.7007 GB, free: 70.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009211/1.085, allocations: 1.307 MB / 0.7019 GB, free: 69.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03921/1.124, allocations: 21.01 MB / 0.7225 GB, free: 48.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006241/1.13, allocations: 3.411 MB / 0.7258 GB, free: 46.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005893/1.136, allocations: 2.637 MB / 0.7284 GB, free: 44.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.138, allocations: 0.5193 MB / 0.7289 GB, free: 44.15 MB / 474.7 MB Notification: Performance of SimCode: time 2.775e-06/1.138, allocations: 0 / 0.7289 GB, free: 44.15 MB / 474.7 MB Notification: Performance of Templates: time 0.2799/1.418, allocations: 76.48 MB / 0.8036 GB, free: 147.7 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.660212367074564]