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.001823/0.001823, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.002344/0.002344, allocations: 211.3 kB / 21.4 MB, free: 1.645 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.556/1.556, allocations: 227.4 MB / 251.6 MB, free: 72 kB / 190.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.2774/0.2774, allocations: 46.17 MB / 351.1 MB, free: 14.28 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.002252/0.002252, allocations: 80.42 kB / 490.2 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.138, allocations: 62.45 MB / 0.5397 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02192/0.1599, allocations: 19.76 MB / 0.559 GB, free: 376 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.1716, allocations: 4.966 MB / 0.5638 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004649/0.1762, allocations: 159.5 kB / 0.564 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01933/0.1956, allocations: 7.772 MB / 0.5716 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.2059, allocations: 2.05 MB / 0.5736 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005426/0.2114, allocations: 1.396 MB / 0.5749 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02004/0.2314, allocations: 12.18 MB / 0.5868 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3839/0.6154, allocations: 26.05 MB / 0.6123 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.6268, allocations: 6.498 MB / 0.6186 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01939/0.6463, allocations: 7.21 MB / 0.6257 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01006/0.6564, allocations: 1.718 MB / 0.6273 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01216/0.6686, allocations: 1.924 MB / 0.6292 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01007/0.6787, allocations: 3.644 MB / 0.6328 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01735/0.6961, allocations: 7.018 MB / 0.6396 GB, free: 6.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03593/0.7321, allocations: 23.67 MB / 0.6627 GB, free: 9.074 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.7322, allocations: 0 / 0.6627 GB, free: 9.074 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7322, allocations: 0 / 0.6627 GB, free: 9.074 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001306/0.7335, allocations: 0 / 0.6627 GB, free: 9.074 MB / 478.1 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.05697/0.7905, allocations: 14.83 MB / 0.6772 GB, free: 12.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.7906, allocations: 16.02 kB / 0.6772 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06124/0.8518, allocations: 11.17 MB / 0.6882 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0221/0.874, allocations: 7.37 MB / 0.6954 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001526/0.8756, allocations: 0.8846 MB / 0.6962 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007637/0.8832, allocations: 1.173 MB / 0.6974 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05812/0.9414, allocations: 18.61 MB / 0.7155 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005964/0.942, allocations: 19.94 kB / 0.7155 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005533/0.9476, allocations: 0.4931 MB / 0.716 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008591/0.9485, allocations: 0.6499 MB / 0.7167 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0475/0.996, allocations: 19.13 MB / 0.7354 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1417/1.138, allocations: 60.36 MB / 0.7943 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02812/1.166, allocations: 16.63 MB / 0.8105 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009657/1.176, allocations: 4.544 MB / 0.815 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009398/1.177, allocations: 389.8 kB / 0.8154 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/1.177, allocations: 103.7 kB / 0.8155 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=653): time 1.4e-05/1.177, allocations: 0 / 0.8155 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=653): time 0.02695/1.204, allocations: 12.47 MB / 0.8276 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/1.204, allocations: 120.5 kB / 0.8277 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01912/1.223, allocations: 8.612 MB / 0.8362 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001438/1.224, allocations: 129.7 kB / 0.8363 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.006265/1.231, allocations: 4.608 MB / 0.8408 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00457/1.235, allocations: 2.296 MB / 0.843 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007108/1.242, allocations: 1.466 MB / 0.8445 GB, free: 148 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.3515/1.594, allocations: 305.1 kB / 0.8447 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01068/1.605, allocations: 4.114 MB / 0.8488 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/1.618, allocations: 6.926 MB / 0.8555 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02144/1.639, allocations: 11.97 MB / 0.8672 GB, free: 194 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002427/1.639, allocations: 26.97 kB / 0.8672 GB, free: 194 MB / 0.6387 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02398/1.663, allocations: 12.1 MB / 0.8791 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/1.664, allocations: 45.59 kB / 0.8791 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002553/1.664, allocations: 91.25 kB / 0.8792 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/1.665, allocations: 412.2 kB / 0.8796 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007637/1.673, allocations: 2.02 MB / 0.8816 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005855/1.678, allocations: 9.59 MB / 0.8909 GB, free: 180.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008303/1.687, allocations: 1.382 MB / 0.8923 GB, free: 180.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/1.689, allocations: 388 kB / 0.8926 GB, free: 180.3 MB / 0.6387 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.01173/1.7, allocations: 4.577 MB / 0.8971 GB, free: 178.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002606/1.703, allocations: 0.7409 MB / 0.8978 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02091/1.724, allocations: 10.61 MB / 0.9082 GB, free: 173.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-05/1.724, allocations: 67.44 kB / 0.9083 GB, free: 173.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.983e-05/1.724, allocations: 3.875 kB / 0.9083 GB, free: 173.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/1.724, allocations: 30.52 kB / 0.9083 GB, free: 173.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1532/1.877, allocations: 161.4 MB / 1.066 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004727/1.878, allocations: 84 kB / 1.066 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006062/1.884, allocations: 1.56 MB / 1.068 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/1.885, allocations: 384.8 kB / 1.068 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001984/1.887, allocations: 259.9 kB / 1.068 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005522/1.893, allocations: 9.457 MB / 1.077 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.867e-05/1.893, allocations: 135.4 kB / 1.078 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5296/2.422, allocations: 18.63 MB / 1.096 GB, free: 201.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008019/2.431, allocations: 2.074 MB / 1.098 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003892/2.434, allocations: 240.7 kB / 1.098 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008645/2.443, allocations: 0.5437 MB / 1.099 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003042/2.446, allocations: 0.7436 MB / 1.099 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002149/2.448, allocations: 325.9 kB / 1.1 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01934/2.468, allocations: 6.05 MB / 1.105 GB, free: 200.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.82e-07/2.468, allocations: 1.094 kB / 1.105 GB, free: 200.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01678/2.485, allocations: 2.644 MB / 1.108 GB, free: 200.7 MB / 0.6544 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.003119/2.488, allocations: 493.6 kB / 1.109 GB, free: 200.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02198/2.51, allocations: 10.64 MB / 1.119 GB, free: 197 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 0.0001558/2.51, allocations: 13.44 kB / 1.119 GB, free: 197 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009677/2.52, allocations: 5.475 MB / 1.124 GB, free: 194.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01386/2.533, allocations: 1.504 MB / 1.126 GB, free: 194.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05217/2.586, allocations: 24.83 MB / 1.15 GB, free: 181.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01273/2.598, allocations: 7.768 MB / 1.158 GB, free: 178.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.01097/2.609, allocations: 3.563 MB / 1.161 GB, free: 178.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003744/2.613, allocations: 0.6386 MB / 1.162 GB, free: 178.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/2.613, allocations: 0 / 1.162 GB, free: 178.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1506/2.764, allocations: 95.07 MB / 1.255 GB, free: 89.64 MB / 0.6544 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.60560101363808]