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.000856/0.000856, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004642/0.004642, allocations: 158.9 kB / 24.7 MB, free: 9.414 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 0.8542/0.8542, allocations: 177.1 MB / 205 MB, free: 5.707 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.2327/0.2327, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..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.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.588e-05, allocations: 3.406 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.1871/0.1871, allocations: 17 MB / 460.4 MB, free: 33.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008118/0.1953, allocations: 4.844 MB / 465.3 MB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.1986, allocations: 193.8 kB / 465.5 MB, free: 30.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006971/0.2056, allocations: 7.672 MB / 473.1 MB, free: 26.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005464/0.2111, allocations: 2.147 MB / 475.3 MB, free: 24.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.2137, allocations: 1.37 MB / 476.7 MB, free: 24.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008708/0.2224, allocations: 12.62 MB / 489.3 MB, free: 17.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02119/0.2436, allocations: 16.77 MB / 0.4942 GB, free: 8.164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01766/0.2612, allocations: 9.744 MB / 0.5037 GB, free: 3.402 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01538/0.2766, allocations: 6.512 MB / 0.5101 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008399/0.285, allocations: 2.086 MB / 0.5121 GB, free: 15.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008161/0.2932, allocations: 1.921 MB / 0.514 GB, free: 13.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007051/0.3002, allocations: 3.744 MB / 0.5176 GB, free: 9.848 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01066/0.3109, allocations: 4.709 MB / 0.5222 GB, free: 5.133 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02258/0.3334, allocations: 23.89 MB / 0.5456 GB, free: 13.17 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3334, allocations: 4 kB / 0.5456 GB, free: 13.17 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3334, allocations: 0 / 0.5456 GB, free: 13.17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006467/0.3341, allocations: 0 / 0.5456 GB, free: 13.17 MB / 458.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.02987/0.364, allocations: 14.63 MB / 0.5599 GB, free: 14.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.364, allocations: 8.031 kB / 0.5599 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03012/0.3941, allocations: 11.17 MB / 0.5708 GB, free: 3.234 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.407, allocations: 7.502 MB / 0.5781 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000658/0.4077, allocations: 0.8911 MB / 0.579 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003916/0.4116, allocations: 1.168 MB / 0.5801 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03414/0.4457, allocations: 19.14 MB / 0.5988 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003151/0.446, allocations: 15.95 kB / 0.5988 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002178/0.4482, allocations: 499.9 kB / 0.5993 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004359/0.4487, allocations: 0.6539 MB / 0.5999 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03571/0.4844, allocations: 19.05 MB / 0.6185 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4645/0.9489, allocations: 51.8 MB / 0.6691 GB, free: 106.5 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/0.9656, allocations: 10.63 MB / 0.6795 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006948/0.9725, allocations: 4.214 MB / 0.6836 GB, free: 101.2 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/0.9731, allocations: 184.3 kB / 0.6838 GB, free: 101.2 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.87e-05/0.9732, allocations: 108.6 kB / 0.6839 GB, free: 101.1 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=653): time 1.169e-05/0.9732, allocations: 0 / 0.6839 GB, free: 101.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=653): time 0.01799/0.9912, allocations: 11.74 MB / 0.6954 GB, free: 97.13 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.9913, allocations: 123.9 kB / 0.6955 GB, free: 97.06 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/0.9959, allocations: 3.831 MB / 0.6992 GB, free: 95.74 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.00109/0.997, allocations: 136.8 kB / 0.6994 GB, free: 95.62 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.9987, allocations: 4.682 MB / 0.7039 GB, free: 92.89 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/1.001, allocations: 2.264 MB / 0.7061 GB, free: 91.36 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/1.002, allocations: 1.456 MB / 0.7076 GB, free: 90.7 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.656e-05/1.002, allocations: 305.1 kB / 0.7079 GB, free: 90.4 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/1.006, allocations: 4.117 MB / 0.7119 GB, free: 89.09 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005164/1.012, allocations: 6.921 MB / 0.7186 GB, free: 84.21 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.023, allocations: 11.98 MB / 0.7303 GB, free: 76.67 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/1.023, allocations: 26.62 kB / 0.7304 GB, free: 76.67 MB / 0.5262 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01557/1.038, allocations: 11.83 MB / 0.7419 GB, free: 68.73 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 7.224e-05/1.038, allocations: 44.94 kB / 0.742 GB, free: 68.69 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.039, allocations: 92 kB / 0.742 GB, free: 68.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006896/1.039, allocations: 408.9 kB / 0.7424 GB, free: 68.18 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004416/1.044, allocations: 2.016 MB / 0.7444 GB, free: 66.16 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/1.047, allocations: 8.808 MB / 0.753 GB, free: 56.74 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/1.052, allocations: 1.022 MB / 0.754 GB, free: 55.71 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.053, allocations: 379.9 kB / 0.7544 GB, free: 55.34 MB / 0.5262 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.006312/1.059, allocations: 4.582 MB / 0.7588 GB, free: 50.75 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008066/1.06, allocations: 492.8 kB / 0.7593 GB, free: 50.26 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009408/1.069, allocations: 10.32 MB / 0.7694 GB, free: 39.84 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/1.069, allocations: 72 kB / 0.7695 GB, free: 39.77 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/1.069, allocations: 0 / 0.7695 GB, free: 39.77 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/1.069, allocations: 35.86 kB / 0.7695 GB, free: 39.73 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3613/1.431, allocations: 150.1 MB / 0.9161 GB, free: 144.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001046/1.431, allocations: 86.66 kB / 0.9162 GB, free: 144.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/1.434, allocations: 1.561 MB / 0.9177 GB, free: 144.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006335/1.435, allocations: 385.4 kB / 0.9181 GB, free: 144.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004687/1.435, allocations: 261.4 kB / 0.9183 GB, free: 144.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/1.439, allocations: 8.679 MB / 0.9268 GB, free: 136.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.503e-05/1.439, allocations: 137.5 kB / 0.9269 GB, free: 136.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/1.455, allocations: 18.19 MB / 0.9447 GB, free: 121.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00296/1.458, allocations: 1.552 MB / 0.9462 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00065/1.458, allocations: 245.3 kB / 0.9464 GB, free: 120.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/1.461, allocations: 0.5503 MB / 0.947 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008394/1.462, allocations: 0.7614 MB / 0.9477 GB, free: 119.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00035/1.463, allocations: 315.9 kB / 0.948 GB, free: 119.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002659/1.465, allocations: 2.546 MB / 0.9505 GB, free: 116.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.51e-07/1.465, allocations: 0 / 0.9505 GB, free: 116.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009715/1.475, allocations: 2.945 MB / 0.9534 GB, free: 114.1 MB / 0.573 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.001747/1.477, allocations: 0.4975 MB / 0.9539 GB, free: 113.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.488, allocations: 10.32 MB / 0.9639 GB, free: 103.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 0.000102/1.489, allocations: 16 kB / 0.964 GB, free: 103.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006225/1.495, allocations: 5.285 MB / 0.9691 GB, free: 97.85 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00709/1.502, allocations: 1.276 MB / 0.9704 GB, free: 96.62 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/1.535, allocations: 23.74 MB / 0.9936 GB, free: 71.65 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007026/1.542, allocations: 7.157 MB / 1.001 GB, free: 64.46 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002564/1.544, allocations: 0.5901 MB / 1.001 GB, free: 63.87 MB / 0.573 GB Notification: Performance of SimCode: time 1.954e-06/1.544, allocations: 0 / 1.001 GB, free: 63.87 MB / 0.573 GB Notification: Performance of Templates: time 0.992/2.536, allocations: 0.5293 GB / 1.53 GB, free: 157.8 MB / 0.6043 GB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 14.455860986374319]