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.001419/0.001419, allocations: 119 kB / 19.13 MB, free: 3.922 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.00152/0.00152, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.511/1.511, allocations: 227.4 MB / 252.3 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.2497/0.2497, allocations: 46.18 MB / 351.8 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.002295/0.002295, allocations: 85.98 kB / 490.9 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.122, allocations: 62.45 MB / 0.5403 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02306/0.1451, allocations: 19.76 MB / 0.5596 GB, free: 392 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.1572, allocations: 4.978 MB / 0.5645 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004329/0.1616, allocations: 163.5 kB / 0.5647 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01829/0.1799, allocations: 7.761 MB / 0.5722 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007806/0.1877, allocations: 2.051 MB / 0.5742 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004432/0.1922, allocations: 1.395 MB / 0.5756 GB, free: 4 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01604/0.2083, allocations: 12.17 MB / 0.5875 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3204/0.5287, allocations: 26.06 MB / 0.6129 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01196/0.5407, allocations: 6.504 MB / 0.6193 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01476/0.5555, allocations: 7.205 MB / 0.6263 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006987/0.5626, allocations: 1.72 MB / 0.628 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.5726, allocations: 1.922 MB / 0.6299 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008465/0.5812, allocations: 3.649 MB / 0.6335 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01669/0.5979, allocations: 7.007 MB / 0.6403 GB, free: 6.621 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02689/0.6248, allocations: 23.68 MB / 0.6634 GB, free: 9.105 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.6249, allocations: 3.438 kB / 0.6634 GB, free: 9.105 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6249, allocations: 0 / 0.6634 GB, free: 9.105 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007444/0.6256, allocations: 0 / 0.6634 GB, free: 9.105 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.04701/0.6726, allocations: 14.82 MB / 0.6779 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.6727, allocations: 12.03 kB / 0.6779 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06141/0.7341, allocations: 11.18 MB / 0.6888 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01617/0.7503, allocations: 7.358 MB / 0.696 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/0.7514, allocations: 0.8881 MB / 0.6969 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005009/0.7564, allocations: 1.174 MB / 0.698 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04944/0.8059, allocations: 18.62 MB / 0.7162 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005194/0.8065, allocations: 15.95 kB / 0.7162 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004111/0.8106, allocations: 497 kB / 0.7167 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008051/0.8114, allocations: 0.6538 MB / 0.7173 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04298/0.8544, allocations: 19.14 MB / 0.736 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1202/0.9746, allocations: 60.36 MB / 0.795 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02444/0.9991, allocations: 16.66 MB / 0.8112 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008886/1.008, allocations: 4.54 MB / 0.8157 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/1.009, allocations: 395.1 kB / 0.816 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/1.009, allocations: 103.7 kB / 0.8161 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=653): time 1.435e-05/1.009, allocations: 4 kB / 0.8161 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=653): time 0.02801/1.037, allocations: 12.46 MB / 0.8283 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.038, allocations: 120.5 kB / 0.8284 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01891/1.056, allocations: 8.612 MB / 0.8368 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001259/1.058, allocations: 137.2 kB / 0.837 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.005727/1.063, allocations: 4.601 MB / 0.8415 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00395/1.067, allocations: 2.299 MB / 0.8437 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00546/1.073, allocations: 1.47 MB / 0.8451 GB, free: 288 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.2594/1.332, allocations: 301.1 kB / 0.8454 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008603/1.341, allocations: 4.113 MB / 0.8495 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00992/1.351, allocations: 6.919 MB / 0.8562 GB, free: 201 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01707/1.368, allocations: 11.99 MB / 0.8679 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001854/1.368, allocations: 25.94 kB / 0.8679 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02133/1.39, allocations: 12.1 MB / 0.8798 GB, free: 190 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.39, allocations: 44.03 kB / 0.8798 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/1.39, allocations: 91.16 kB / 0.8799 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009846/1.391, allocations: 416.9 kB / 0.8803 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007601/1.399, allocations: 2.017 MB / 0.8822 GB, free: 189.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005527/1.404, allocations: 9.586 MB / 0.8916 GB, free: 181 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007403/1.412, allocations: 1.386 MB / 0.893 GB, free: 180.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/1.413, allocations: 385.5 kB / 0.8933 GB, free: 180.4 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.008313/1.422, allocations: 4.584 MB / 0.8978 GB, free: 178.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001521/1.423, allocations: 0.7392 MB / 0.8985 GB, free: 178 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.439, allocations: 10.6 MB / 0.9089 GB, free: 174 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/1.439, allocations: 66.09 kB / 0.9089 GB, free: 174 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.439, allocations: 3.812 kB / 0.909 GB, free: 174 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.228e-05/1.439, allocations: 34.22 kB / 0.909 GB, free: 174 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1439/1.583, allocations: 161.5 MB / 1.067 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000326/1.584, allocations: 84 kB / 1.067 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005833/1.589, allocations: 1.562 MB / 1.068 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009293/1.59, allocations: 380.9 kB / 1.069 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001318/1.592, allocations: 259.9 kB / 1.069 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005152/1.597, allocations: 9.463 MB / 1.078 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-05/1.597, allocations: 131.4 kB / 1.078 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.342/1.939, allocations: 18.64 MB / 1.096 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005951/1.945, allocations: 2.072 MB / 1.098 GB, free: 201.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002573/1.948, allocations: 240.8 kB / 1.099 GB, free: 201.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006696/1.954, allocations: 0.546 MB / 1.099 GB, free: 201.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002004/1.956, allocations: 0.7422 MB / 1.1 GB, free: 201.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001169/1.958, allocations: 322.5 kB / 1.1 GB, free: 201.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0138/1.971, allocations: 6.052 MB / 1.106 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.02e-07/1.971, allocations: 0 / 1.106 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01219/1.984, allocations: 2.643 MB / 1.109 GB, free: 200.9 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.002426/1.986, allocations: 495.6 kB / 1.109 GB, free: 200.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01747/2.004, allocations: 10.63 MB / 1.12 GB, free: 197.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 0.0001264/2.004, allocations: 15.62 kB / 1.12 GB, free: 197.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008569/2.012, allocations: 5.466 MB / 1.125 GB, free: 195 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01315/2.025, allocations: 1.492 MB / 1.126 GB, free: 194.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04152/2.067, allocations: 24.45 MB / 1.15 GB, free: 181.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009264/2.076, allocations: 7.518 MB / 1.158 GB, free: 179.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003177/2.08, allocations: 0.6987 MB / 1.158 GB, free: 179.1 MB / 0.6544 GB Notification: Performance of SimCode: time 1.042e-06/2.08, allocations: 3.969 kB / 1.158 GB, free: 179.1 MB / 0.6544 GB Notification: Performance of Templates: time 1.157/3.237, allocations: 0.5376 GB / 1.696 GB, free: 151 MB / 0.67 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 22.69342714198865]