Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001496, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.89 MB / 361.3 MB, free: 4.441 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 76.2 kB / 0.4971 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3221, allocations: 66.02 MB / 0.5615 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02323/0.3453, allocations: 19.88 MB / 0.5809 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.3571, allocations: 5.008 MB / 0.5858 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003771/0.3609, allocations: 194.9 kB / 0.586 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01812/0.379, allocations: 7.855 MB / 0.5937 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007926/0.387, allocations: 2.105 MB / 0.5957 GB, free: 1.488 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004258/0.3912, allocations: 1.429 MB / 0.5971 GB, free: 64 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01916/0.4104, allocations: 12.24 MB / 0.6091 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0299/0.4403, allocations: 15.79 MB / 0.6245 GB, free: 3.789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/0.4508, allocations: 6.659 MB / 0.631 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01208/0.4629, allocations: 7.292 MB / 0.6381 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005582/0.4685, allocations: 1.719 MB / 0.6398 GB, free: 4.078 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008573/0.477, allocations: 1.922 MB / 0.6417 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00745/0.4845, allocations: 3.659 MB / 0.6453 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0138/0.4983, allocations: 7.007 MB / 0.6521 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03039/0.5287, allocations: 23.68 MB / 0.6752 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5287, allocations: 7.938 kB / 0.6752 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5287, allocations: 0 / 0.6752 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000629/0.5293, allocations: 0 / 0.6752 GB, free: 15.7 MB / 0.5137 GB 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.04878/0.5781, allocations: 14.75 MB / 0.6896 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5782, allocations: 8.031 kB / 0.6896 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06121/0.6394, allocations: 11.18 MB / 0.7006 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/0.6603, allocations: 7.495 MB / 0.7079 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001516/0.6618, allocations: 0.891 MB / 0.7087 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006096/0.6679, allocations: 1.168 MB / 0.7099 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06205/0.7299, allocations: 18.61 MB / 0.7281 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005512/0.7305, allocations: 23.89 kB / 0.7281 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004145/0.7346, allocations: 492 kB / 0.7286 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007923/0.7354, allocations: 0.6539 MB / 0.7292 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5679/1.303, allocations: 19.13 MB / 0.7479 GB, free: 132.8 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/1.412, allocations: 59.53 MB / 0.806 GB, free: 84.91 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01794/1.43, allocations: 10.7 MB / 0.8165 GB, free: 74.71 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006754/1.436, allocations: 4.22 MB / 0.8206 GB, free: 70.47 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007706/1.437, allocations: 232 kB / 0.8208 GB, free: 70.29 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/1.437, allocations: 107.7 kB / 0.8209 GB, free: 70.18 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 1.521e-05/1.437, allocations: 0 / 0.8209 GB, free: 70.18 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.02082/1.458, allocations: 12.01 MB / 0.8326 GB, free: 58.07 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/1.458, allocations: 120.5 kB / 0.8328 GB, free: 57.94 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01592/1.474, allocations: 8.605 MB / 0.8412 GB, free: 49.39 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001455/1.476, allocations: 133.7 kB / 0.8413 GB, free: 49.25 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004047/1.48, allocations: 4.618 MB / 0.8458 GB, free: 45.13 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002897/1.483, allocations: 2.295 MB / 0.848 GB, free: 42.82 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004294/1.487, allocations: 1.47 MB / 0.8495 GB, free: 41.35 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.84e-05/1.487, allocations: 301.1 kB / 0.8498 GB, free: 41.05 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006104/1.493, allocations: 4.117 MB / 0.8538 GB, free: 36.93 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007703/1.501, allocations: 6.921 MB / 0.8605 GB, free: 28.74 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/1.515, allocations: 11.99 MB / 0.8723 GB, free: 15.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/1.515, allocations: 28 kB / 0.8723 GB, free: 15.37 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02159/1.536, allocations: 12.09 MB / 0.8841 GB, free: 3.168 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.537, allocations: 50.03 kB / 0.8841 GB, free: 3.121 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/1.537, allocations: 88 kB / 0.8842 GB, free: 3.035 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/1.538, allocations: 412.8 kB / 0.8846 GB, free: 2.613 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007518/1.545, allocations: 2.016 MB / 0.8866 GB, free: 0.5938 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009234/1.555, allocations: 8.965 MB / 0.8953 GB, free: 6.941 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01256/1.567, allocations: 1.377 MB / 0.8967 GB, free: 5.555 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002409/1.569, allocations: 387.9 kB / 0.8971 GB, free: 5.176 MB / 0.5763 GB 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.01255/1.582, allocations: 4.578 MB / 0.9015 GB, free: 0.582 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002871/1.585, allocations: 0.7376 MB / 0.9022 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02622/1.611, allocations: 10.61 MB / 0.9126 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.257e-05/1.611, allocations: 71.94 kB / 0.9127 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-05/1.611, allocations: 0 / 0.9127 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001166/1.611, allocations: 31.88 kB / 0.9127 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5242/2.136, allocations: 152.6 MB / 1.062 GB, free: 186.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003927/2.136, allocations: 84 kB / 1.062 GB, free: 186.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006284/2.142, allocations: 1.556 MB / 1.063 GB, free: 185.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/2.143, allocations: 379.6 kB / 1.064 GB, free: 184.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001443/2.145, allocations: 259.9 kB / 1.064 GB, free: 184.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005435/2.15, allocations: 8.848 MB / 1.073 GB, free: 175.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.289e-05/2.15, allocations: 144.9 kB / 1.073 GB, free: 175 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02551/2.176, allocations: 18.63 MB / 1.091 GB, free: 154.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006882/2.183, allocations: 2.077 MB / 1.093 GB, free: 152.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003526/2.186, allocations: 248 kB / 1.093 GB, free: 152.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007189/2.193, allocations: 0.5424 MB / 1.094 GB, free: 152.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002299/2.196, allocations: 0.765 MB / 1.094 GB, free: 151.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001508/2.197, allocations: 319.9 kB / 1.095 GB, free: 151.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0111/2.208, allocations: 6.047 MB / 1.101 GB, free: 145 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/2.208, allocations: 4 kB / 1.101 GB, free: 145 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01161/2.22, allocations: 2.649 MB / 1.103 GB, free: 142.6 MB / 0.67 GB 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.002368/2.222, allocations: 0.4898 MB / 1.104 GB, free: 142.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01625/2.238, allocations: 10.33 MB / 1.114 GB, free: 131.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-05/2.239, allocations: 12 kB / 1.114 GB, free: 131.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008458/2.247, allocations: 5.295 MB / 1.119 GB, free: 126.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0139/2.261, allocations: 1.489 MB / 1.12 GB, free: 124.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04495/2.306, allocations: 24.99 MB / 1.145 GB, free: 98.68 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01343/2.319, allocations: 7.765 MB / 1.152 GB, free: 90.88 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.009342/2.329, allocations: 3.566 MB / 1.156 GB, free: 87.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004205/2.333, allocations: 0.636 MB / 1.157 GB, free: 86.66 MB / 0.67 GB Notification: Performance of SimCode: time 1.503e-06/2.333, allocations: 0 / 1.157 GB, free: 86.66 MB / 0.67 GB Notification: Performance of Templates: time 0.1608/2.494, allocations: 101 MB / 1.255 GB, free: 2.301 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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: 10.974642047658563]