Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009786/0.0009786, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001024/0.001024, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.083/1.083, allocations: 177.2 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2722/0.2722, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.296e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01386/0.01388, allocations: 19.09 MB / 397.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00983/0.02371, allocations: 4.951 MB / 402.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.02744, allocations: 198.9 kB / 402.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009571/0.03701, allocations: 8.323 MB / 410.6 MB, free: 1.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007811/0.04483, allocations: 2.144 MB / 412.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004597/0.04942, allocations: 1.403 MB / 414.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01184/0.06127, allocations: 12.63 MB / 426.8 MB, free: 1.723 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.024/0.08526, allocations: 16.79 MB / 443.6 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1898/0.275, allocations: 9.829 MB / 453.4 MB, free: 55.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01399/0.289, allocations: 7.25 MB / 460.6 MB, free: 55.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007233/0.2963, allocations: 1.719 MB / 462.4 MB, free: 55.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008981/0.3052, allocations: 1.916 MB / 464.3 MB, free: 55.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006902/0.3121, allocations: 3.796 MB / 468.1 MB, free: 55.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01163/0.3238, allocations: 4.77 MB / 472.8 MB, free: 53.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02259/0.3464, allocations: 12 MB / 484.8 MB, free: 48.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3464, allocations: 5.156 kB / 484.8 MB, free: 48.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3464, allocations: 0.8125 kB / 484.8 MB, free: 48.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000811/0.3472, allocations: 0 / 484.8 MB, free: 48.69 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.04621/0.3934, allocations: 15.82 MB / 0.4889 GB, free: 41.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.3934, allocations: 9.781 kB / 0.4889 GB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0389/0.4323, allocations: 13.37 MB / 0.502 GB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/0.4467, allocations: 6.837 MB / 0.5087 GB, free: 34.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009318/0.4477, allocations: 0.8844 MB / 0.5095 GB, free: 33.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005616/0.4533, allocations: 1.181 MB / 0.5107 GB, free: 32.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0337/0.487, allocations: 8.434 MB / 0.5189 GB, free: 24.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005492/0.4875, allocations: 15.91 kB / 0.5189 GB, free: 24.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00414/0.4917, allocations: 493 kB / 0.5194 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004403/0.4921, allocations: 0.6577 MB / 0.52 GB, free: 22.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02392/0.516, allocations: 6.204 MB / 0.5261 GB, free: 16.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0841/0.6001, allocations: 46.62 MB / 0.5716 GB, free: 2.168 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/0.6117, allocations: 7.369 MB / 0.5788 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003239/0.615, allocations: 1.58 MB / 0.5804 GB, free: 9.723 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003755/0.6154, allocations: 231 kB / 0.5806 GB, free: 9.496 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.971e-05/0.6155, allocations: 106.5 kB / 0.5807 GB, free: 9.379 MB / 458.7 MB Notification: Performance of pre-optimization done (n=653): time 8.065e-06/0.6155, allocations: 0 / 0.5807 GB, free: 9.379 MB / 458.7 MB Notification: Performance of matching and sorting (n=653): time 0.009103/0.6246, allocations: 4.778 MB / 0.5854 GB, free: 4.516 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.6246, allocations: 120.5 kB / 0.5855 GB, free: 4.383 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005522/0.6302, allocations: 3.559 MB / 0.589 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006591/0.6308, allocations: 133.7 kB / 0.5891 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003031/0.6338, allocations: 4.977 MB / 0.5939 GB, free: 11.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002245/0.6361, allocations: 2.379 MB / 0.5963 GB, free: 9.324 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002624/0.6387, allocations: 1.652 MB / 0.5979 GB, free: 7.664 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.6388, allocations: 488.7 kB / 0.5983 GB, free: 7.184 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002468/0.6413, allocations: 1.049 MB / 0.5994 GB, free: 6.133 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2086/0.8499, allocations: 5.277 MB / 0.6045 GB, free: 98.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/0.8607, allocations: 7.107 MB / 0.6115 GB, free: 93.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001434/0.8609, allocations: 25.41 kB / 0.6115 GB, free: 93.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01255/0.8734, allocations: 6.039 MB / 0.6174 GB, free: 93.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/0.8735, allocations: 46.12 kB / 0.6174 GB, free: 93.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/0.8737, allocations: 89.69 kB / 0.6175 GB, free: 93.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009447/0.8746, allocations: 426.9 kB / 0.6179 GB, free: 93.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004632/0.8792, allocations: 2.017 MB / 0.6199 GB, free: 93.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003956/0.8832, allocations: 10.89 MB / 0.6305 GB, free: 83.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005982/0.8892, allocations: 1.016 MB / 0.6315 GB, free: 83.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/0.8907, allocations: 388.9 kB / 0.6319 GB, free: 83.11 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.004752/0.8955, allocations: 0.6813 MB / 0.6326 GB, free: 82.94 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/0.8967, allocations: 0.6786 MB / 0.6332 GB, free: 82.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007933/0.9047, allocations: 5.865 MB / 0.6389 GB, free: 82.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/0.9047, allocations: 81.22 kB / 0.639 GB, free: 82.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.9047, allocations: 0 / 0.639 GB, free: 82.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.854e-05/0.9048, allocations: 33.38 kB / 0.6391 GB, free: 82.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06301/0.9678, allocations: 24.32 MB / 0.6628 GB, free: 76.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001531/0.9679, allocations: 86.62 kB / 0.6629 GB, free: 76.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004229/0.9721, allocations: 1.557 MB / 0.6644 GB, free: 76.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.9732, allocations: 391 kB / 0.6648 GB, free: 76.44 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006772/0.9739, allocations: 260.9 kB / 0.665 GB, free: 76.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/0.978, allocations: 10.8 MB / 0.6756 GB, free: 66.06 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.004e-05/0.9781, allocations: 132.2 kB / 0.6757 GB, free: 66.06 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.9916, allocations: 10.63 MB / 0.6861 GB, free: 58.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00319/0.9947, allocations: 1.372 MB / 0.6874 GB, free: 57.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/0.9959, allocations: 244.6 kB / 0.6877 GB, free: 57.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003521/0.9995, allocations: 0.5466 MB / 0.6882 GB, free: 57.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009709/1, allocations: 0.7625 MB / 0.6889 GB, free: 57.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005605/1.001, allocations: 318.8 kB / 0.6892 GB, free: 57.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002992/1.004, allocations: 1.593 MB / 0.6908 GB, free: 56.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.004, allocations: 0 / 0.6908 GB, free: 56.77 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009968/1.014, allocations: 2.947 MB / 0.6937 GB, free: 54.02 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.002378/1.016, allocations: 0.4899 MB / 0.6941 GB, free: 53.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01003/1.026, allocations: 5.626 MB / 0.6996 GB, free: 49.35 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.048e-05/1.026, allocations: 12.12 kB / 0.6997 GB, free: 49.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004362/1.031, allocations: 3.285 MB / 0.7029 GB, free: 46.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005714/1.037, allocations: 1.304 MB / 0.7041 GB, free: 45.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02884/1.065, allocations: 21.02 MB / 0.7247 GB, free: 24.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004484/1.07, allocations: 3.415 MB / 0.728 GB, free: 22.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005465/1.075, allocations: 2.634 MB / 0.7306 GB, free: 20.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/1.077, allocations: 0.525 MB / 0.7311 GB, free: 20.19 MB / 474.7 MB Notification: Performance of SimCode: time 1.954e-06/1.077, allocations: 0 / 0.7311 GB, free: 20.19 MB / 474.7 MB Notification: Performance of Templates: time 0.2687/1.346, allocations: 80.4 MB / 0.8096 GB, free: 128.2 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.593530786689371]