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.001263/0.001263, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001353/0.001353, allocations: 168.5 kB / 24.5 MB, free: 3.453 MB / 14.72 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.483/1.483, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.1 MB " [Timeout remaining time 178] 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.2083/0.2083, allocations: 32.8 MB / 294.1 MB, free: 48 kB / 270.1 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.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..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.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 67.89 kB / 440.6 MB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3373, allocations: 65.44 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01413/0.3514, allocations: 16.99 MB / 0.5107 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.3616, allocations: 4.852 MB / 0.5155 GB, free: 16.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003678/0.3653, allocations: 191.8 kB / 0.5157 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01586/0.3811, allocations: 7.65 MB / 0.5231 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008932/0.3901, allocations: 2.085 MB / 0.5252 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004422/0.3945, allocations: 1.38 MB / 0.5265 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01641/0.4109, allocations: 12.25 MB / 0.5385 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04063/0.4515, allocations: 16.73 MB / 0.5548 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0168/0.4683, allocations: 6.658 MB / 0.5613 GB, free: 3.992 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01727/0.4856, allocations: 7.225 MB / 0.5684 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006036/0.4916, allocations: 1.723 MB / 0.57 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008824/0.5005, allocations: 1.906 MB / 0.5719 GB, free: 9.113 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007847/0.5083, allocations: 3.666 MB / 0.5755 GB, free: 5.438 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01595/0.5243, allocations: 5.486 MB / 0.5808 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03432/0.5586, allocations: 23.78 MB / 0.6041 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5586, allocations: 0 / 0.6041 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.51e-07/0.5586, allocations: 0 / 0.6041 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0006381/0.5592, allocations: 4 kB / 0.6041 GB, free: 8.07 MB / 0.4981 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.05248/0.6117, allocations: 14.75 MB / 0.6185 GB, free: 9.223 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.6118, allocations: 12.03 kB / 0.6185 GB, free: 9.211 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06318/0.6749, allocations: 11.17 MB / 0.6294 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02121/0.6961, allocations: 7.51 MB / 0.6367 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00125/0.6974, allocations: 0.8871 MB / 0.6376 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006186/0.7036, allocations: 1.172 MB / 0.6387 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04811/0.7517, allocations: 19.14 MB / 0.6574 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003159/0.752, allocations: 15.91 kB / 0.6575 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/0.7539, allocations: 500 kB / 0.6579 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000693/0.7546, allocations: 0.6578 MB / 0.6586 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04376/0.7983, allocations: 19.05 MB / 0.6772 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6183/1.417, allocations: 51.79 MB / 0.7278 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02058/1.437, allocations: 10.63 MB / 0.7381 GB, free: 104.5 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00707/1.444, allocations: 4.22 MB / 0.7423 GB, free: 103.1 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/1.445, allocations: 178.3 kB / 0.7424 GB, free: 103 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/1.445, allocations: 108.5 kB / 0.7425 GB, free: 102.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=653): time 1.001e-05/1.445, allocations: 0 / 0.7425 GB, free: 102.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=653): time 0.0182/1.463, allocations: 11.75 MB / 0.754 GB, free: 98.98 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/1.463, allocations: 117.4 kB / 0.7541 GB, free: 98.91 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00514/1.468, allocations: 3.831 MB / 0.7579 GB, free: 96.97 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008303/1.469, allocations: 132.8 kB / 0.758 GB, free: 96.86 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002446/1.472, allocations: 4.698 MB / 0.7626 GB, free: 93.55 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001975/1.474, allocations: 2.306 MB / 0.7648 GB, free: 91.82 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/1.475, allocations: 1.463 MB / 0.7663 GB, free: 91.02 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.818e-05/1.476, allocations: 305.1 kB / 0.7665 GB, free: 90.72 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004999/1.481, allocations: 4.115 MB / 0.7706 GB, free: 88.59 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006201/1.487, allocations: 6.919 MB / 0.7773 GB, free: 82.8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/1.5, allocations: 11.98 MB / 0.789 GB, free: 72.21 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/1.5, allocations: 31.94 kB / 0.7891 GB, free: 72.18 MB / 0.5763 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01655/1.517, allocations: 11.84 MB / 0.8006 GB, free: 60.23 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/1.517, allocations: 44 kB / 0.8007 GB, free: 60.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/1.517, allocations: 92 kB / 0.8007 GB, free: 60.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008581/1.518, allocations: 409.6 kB / 0.8011 GB, free: 59.68 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006563/1.524, allocations: 2.02 MB / 0.8031 GB, free: 57.66 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/1.529, allocations: 8.809 MB / 0.8117 GB, free: 48.24 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00586/1.535, allocations: 1.022 MB / 0.8127 GB, free: 47.21 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/1.537, allocations: 387.9 kB / 0.8131 GB, free: 46.83 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.009078/1.546, allocations: 4.578 MB / 0.8175 GB, free: 42.24 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/1.547, allocations: 481 kB / 0.818 GB, free: 41.77 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.562, allocations: 10.33 MB / 0.8281 GB, free: 31.33 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/1.562, allocations: 72 kB / 0.8282 GB, free: 31.26 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.562, allocations: 0 / 0.8282 GB, free: 31.26 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.633e-05/1.562, allocations: 39.86 kB / 0.8282 GB, free: 31.22 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4419/2.004, allocations: 150.1 MB / 0.9748 GB, free: 206.3 MB / 0.6701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003544/2.005, allocations: 85.3 kB / 0.9749 GB, free: 206.3 MB / 0.6701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006777/2.011, allocations: 1.558 MB / 0.9764 GB, free: 206.2 MB / 0.6701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009542/2.012, allocations: 381.7 kB / 0.9768 GB, free: 206.1 MB / 0.6701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009528/2.013, allocations: 260.5 kB / 0.977 GB, free: 206 MB / 0.6701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005312/2.019, allocations: 8.688 MB / 0.9855 GB, free: 198.3 MB / 0.6701 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-05/2.019, allocations: 137.6 kB / 0.9856 GB, free: 198.2 MB / 0.6701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02328/2.042, allocations: 18.36 MB / 1.004 GB, free: 187.5 MB / 0.6701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003979/2.046, allocations: 1.558 MB / 1.005 GB, free: 187.1 MB / 0.6701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/2.047, allocations: 241.1 kB / 1.005 GB, free: 187 MB / 0.6701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004482/2.051, allocations: 0.549 MB / 1.006 GB, free: 186.9 MB / 0.6701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009388/2.052, allocations: 0.7584 MB / 1.007 GB, free: 186.7 MB / 0.6701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004853/2.053, allocations: 322.5 kB / 1.007 GB, free: 186.6 MB / 0.6701 GB Notification: Performance of sorting global known variables: time 0.00357/2.056, allocations: 2.539 MB / 1.009 GB, free: 185.8 MB / 0.6701 GB Notification: Performance of sort global known variables: time 1.01e-07/2.056, allocations: 3.938 kB / 1.009 GB, free: 185.7 MB / 0.6701 GB Notification: Performance of remove unused functions: time 0.00912/2.066, allocations: 2.951 MB / 1.012 GB, free: 185.1 MB / 0.6701 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.001626/2.067, allocations: 0.4903 MB / 1.013 GB, free: 184.8 MB / 0.6701 GB Notification: Performance of simCode: created initialization part: time 0.01377/2.081, allocations: 10.33 MB / 1.023 GB, free: 181 MB / 0.6701 GB Notification: Performance of simCode: created event and clocks part: time 0.0001083/2.081, allocations: 15.88 kB / 1.023 GB, free: 181 MB / 0.6701 GB Notification: Performance of simCode: created simulation system equations: time 0.008785/2.09, allocations: 5.289 MB / 1.028 GB, free: 177.9 MB / 0.6701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/2.1, allocations: 1.269 MB / 1.029 GB, free: 176.8 MB / 0.6701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0397/2.14, allocations: 24.22 MB / 1.053 GB, free: 153.9 MB / 0.6701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009656/2.149, allocations: 7.411 MB / 1.06 GB, free: 146.5 MB / 0.6701 GB Notification: Performance of simCode: alias equations: time 0.007543/2.157, allocations: 3.191 MB / 1.063 GB, free: 143.3 MB / 0.6701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/2.159, allocations: 0.5238 MB / 1.064 GB, free: 142.7 MB / 0.6701 GB Notification: Performance of SimCode: time 1.513e-06/2.159, allocations: 0 / 1.064 GB, free: 142.7 MB / 0.6701 GB Notification: Performance of Templates: time 0.1175/2.276, allocations: 77.06 MB / 1.139 GB, free: 66.46 MB / 0.6701 GB " [Timeout remaining time 658] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.996548203052953]