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.0009935/0.0009935, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009648/0.0009648, allocations: 161 kB / 24.56 MB, free: 12 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.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.59 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.2668/0.2668, allocations: 32.8 MB / 294.3 MB, free: 1.277 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.673e-06/1.673e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.636e-05, allocations: 6.25 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01409/0.01411, allocations: 19.09 MB / 395.1 MB, free: 1.496 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009611/0.02373, allocations: 4.962 MB / 400.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00413/0.02786, allocations: 194.9 kB / 400.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.03798, allocations: 8.331 MB / 408.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006871/0.04485, allocations: 2.132 MB / 410.7 MB, free: 1.816 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.0482, allocations: 1.4 MB / 412.1 MB, free: 424 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01129/0.05949, allocations: 12.61 MB / 424.7 MB, free: 3.742 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02262/0.0821, allocations: 16.8 MB / 441.5 MB, free: 2.742 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1905/0.2726, allocations: 9.819 MB / 451.4 MB, free: 57.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/0.2835, allocations: 7.22 MB / 458.6 MB, free: 57.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005777/0.2892, allocations: 1.721 MB / 460.3 MB, free: 57.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008178/0.2974, allocations: 1.921 MB / 462.2 MB, free: 57.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007096/0.3045, allocations: 3.793 MB / 466 MB, free: 57.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01128/0.3158, allocations: 4.776 MB / 470.8 MB, free: 56.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01976/0.3355, allocations: 11.99 MB / 482.8 MB, free: 51.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.3355, allocations: 7.594 kB / 482.8 MB, free: 51.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3356, allocations: 0 / 482.8 MB, free: 51.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008072/0.3364, allocations: 1.031 kB / 482.8 MB, free: 51.99 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.04447/0.3808, allocations: 15.82 MB / 498.6 MB, free: 44.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.3809, allocations: 11.44 kB / 498.6 MB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04029/0.4212, allocations: 13.37 MB / 0.5 GB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/0.4357, allocations: 6.823 MB / 0.5067 GB, free: 37.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007407/0.4364, allocations: 0.8943 MB / 0.5075 GB, free: 36.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00533/0.4418, allocations: 1.183 MB / 0.5087 GB, free: 35.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03581/0.4776, allocations: 8.425 MB / 0.5169 GB, free: 28.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004192/0.478, allocations: 23.89 kB / 0.5169 GB, free: 28.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004416/0.4824, allocations: 497 kB / 0.5174 GB, free: 27.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004777/0.4829, allocations: 0.6499 MB / 0.518 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/0.5057, allocations: 6.204 MB / 0.5241 GB, free: 20.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0837/0.5894, allocations: 46.63 MB / 0.5696 GB, free: 6.141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.6005, allocations: 7.355 MB / 0.5768 GB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.6038, allocations: 1.58 MB / 0.5784 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/0.6042, allocations: 227 kB / 0.5786 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.411e-05/0.6043, allocations: 110.5 kB / 0.5787 GB, free: 13.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=653): time 8.566e-06/0.6043, allocations: 0 / 0.5787 GB, free: 13.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=653): time 0.009312/0.6136, allocations: 4.781 MB / 0.5834 GB, free: 8.496 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.6137, allocations: 124.5 kB / 0.5835 GB, free: 8.359 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/0.619, allocations: 3.563 MB / 0.587 GB, free: 4.781 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005839/0.6196, allocations: 133.7 kB / 0.5871 GB, free: 4.645 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002967/0.6226, allocations: 4.974 MB / 0.5919 GB, free: 15.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002321/0.6249, allocations: 2.379 MB / 0.5943 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/0.627, allocations: 1.655 MB / 0.5959 GB, free: 11.63 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6271, allocations: 484 kB / 0.5963 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.6296, allocations: 1.053 MB / 0.5974 GB, free: 10.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004365/0.634, allocations: 5.271 MB / 0.6025 GB, free: 3.141 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2003/0.8343, allocations: 7.11 MB / 0.6095 GB, free: 98.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/0.8344, allocations: 29.06 kB / 0.6095 GB, free: 98.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.00993/0.8443, allocations: 6.041 MB / 0.6154 GB, free: 98.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.8443, allocations: 43.75 kB / 0.6154 GB, free: 98.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-05/0.8444, allocations: 92.16 kB / 0.6155 GB, free: 98.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009372/0.8454, allocations: 424.4 kB / 0.6159 GB, free: 98.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003694/0.8491, allocations: 2.012 MB / 0.6179 GB, free: 98.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.8523, allocations: 10.89 MB / 0.6285 GB, free: 88.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/0.856, allocations: 1.02 MB / 0.6295 GB, free: 88.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004279/0.8565, allocations: 385.8 kB / 0.6299 GB, free: 88.16 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.00368/0.8601, allocations: 0.6772 MB / 0.6305 GB, free: 88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/0.8613, allocations: 0.6781 MB / 0.6312 GB, free: 87.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007437/0.8687, allocations: 5.866 MB / 0.6369 GB, free: 87.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.8688, allocations: 69.25 kB / 0.637 GB, free: 87.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.8688, allocations: 3.094 kB / 0.637 GB, free: 87.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.494e-05/0.8688, allocations: 41.69 kB / 0.637 GB, free: 87.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07392/0.9427, allocations: 24.33 MB / 0.6608 GB, free: 81.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.907e-05/0.9428, allocations: 87.3 kB / 0.6609 GB, free: 81.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006807/0.9496, allocations: 1.556 MB / 0.6624 GB, free: 81.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009806/0.9506, allocations: 393 kB / 0.6628 GB, free: 81.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003691/0.951, allocations: 258.4 kB / 0.663 GB, free: 81.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/0.9547, allocations: 10.8 MB / 0.6736 GB, free: 71.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.958e-05/0.9548, allocations: 136.7 kB / 0.6737 GB, free: 71.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.9658, allocations: 10.61 MB / 0.6841 GB, free: 63.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/0.968, allocations: 1.377 MB / 0.6854 GB, free: 62.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004379/0.9684, allocations: 250.4 kB / 0.6857 GB, free: 62.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/0.9706, allocations: 0.5385 MB / 0.6862 GB, free: 62.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006853/0.9713, allocations: 0.7675 MB / 0.6869 GB, free: 62.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003209/0.9716, allocations: 319.2 kB / 0.6872 GB, free: 62.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00215/0.9737, allocations: 1.591 MB / 0.6888 GB, free: 61.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9737, allocations: 0 / 0.6888 GB, free: 61.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007795/0.9815, allocations: 2.95 MB / 0.6917 GB, free: 58.87 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.0006587/0.9822, allocations: 0.4941 MB / 0.6921 GB, free: 58.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006904/0.9891, allocations: 5.624 MB / 0.6976 GB, free: 54.39 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.197e-05/0.9891, allocations: 16.88 kB / 0.6977 GB, free: 54.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002839/0.992, allocations: 3.281 MB / 0.7009 GB, free: 51.63 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/0.996, allocations: 1.309 MB / 0.7021 GB, free: 50.58 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/1.017, allocations: 21.01 MB / 0.7227 GB, free: 29.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/1.019, allocations: 3.411 MB / 0.726 GB, free: 27.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003915/1.023, allocations: 2.647 MB / 0.7286 GB, free: 25.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/1.024, allocations: 0.5225 MB / 0.7291 GB, free: 25.22 MB / 474.7 MB Notification: Performance of SimCode: time 2.004e-06/1.024, allocations: 0 / 0.7291 GB, free: 25.22 MB / 474.7 MB Notification: Performance of Templates: time 0.2687/1.293, allocations: 76.48 MB / 0.8038 GB, free: 129.4 MB / 0.4948 GB " [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.485982668586075]