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.001405/0.001405, allocations: 123.1 kB / 18.46 MB, free: 4.578 MB / 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.001639/0.001639, allocations: 215.2 kB / 21.42 MB, free: 1.625 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.492/1.492, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.2338/0.2338, allocations: 46.92 MB / 357.8 MB, free: 10.4 MB / 286.1 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 0.001961/0.001961, allocations: 59.91 kB / 0.4921 GB, free: 7.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1261, allocations: 65.99 MB / 0.5565 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02313/0.1492, allocations: 19.85 MB / 0.5759 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.1616, allocations: 4.982 MB / 0.5808 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005115/0.1668, allocations: 198.9 kB / 0.5809 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01938/0.1861, allocations: 7.832 MB / 0.5886 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00819/0.1943, allocations: 2.07 MB / 0.5906 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004746/0.1991, allocations: 1.403 MB / 0.592 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2953/0.4944, allocations: 12.17 MB / 0.6039 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04235/0.5367, allocations: 20.6 MB / 0.624 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01434/0.5511, allocations: 6.641 MB / 0.6305 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0139/0.5649, allocations: 7.277 MB / 0.6376 GB, free: 6.742 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005451/0.5704, allocations: 1.723 MB / 0.6393 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008323/0.5787, allocations: 1.92 MB / 0.6411 GB, free: 3.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007082/0.5858, allocations: 3.66 MB / 0.6447 GB, free: 68 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01608/0.6019, allocations: 7.052 MB / 0.6516 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03155/0.6334, allocations: 23.68 MB / 0.6747 GB, free: 3.473 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.6334, allocations: 4 kB / 0.6747 GB, free: 3.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6334, allocations: 0 / 0.6747 GB, free: 3.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006671/0.6341, allocations: 0 / 0.6747 GB, free: 3.469 MB / 494.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.04669/0.6808, allocations: 14.82 MB / 0.6892 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.6809, allocations: 12.02 kB / 0.6892 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06309/0.7439, allocations: 11.17 MB / 0.7001 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01828/0.7622, allocations: 7.367 MB / 0.7073 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/0.7634, allocations: 0.8845 MB / 0.7082 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005543/0.7689, allocations: 1.171 MB / 0.7093 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05106/0.82, allocations: 18.62 MB / 0.7275 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005282/0.8205, allocations: 23.89 kB / 0.7275 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004345/0.8249, allocations: 489.9 kB / 0.728 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007904/0.8257, allocations: 0.6539 MB / 0.7286 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04719/0.8729, allocations: 19.13 MB / 0.7473 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1273/1, allocations: 60.37 MB / 0.8063 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02497/1.025, allocations: 16.12 MB / 0.822 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008894/1.034, allocations: 4.216 MB / 0.8261 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000901/1.035, allocations: 394.3 kB / 0.8265 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/1.035, allocations: 103.7 kB / 0.8266 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=653): time 9.988e-06/1.035, allocations: 0 / 0.8266 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of matching and sorting (n=653): time 0.6199/1.655, allocations: 12.45 MB / 0.8388 GB, free: 190.8 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.655, allocations: 119.1 kB / 0.8389 GB, free: 190.7 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01721/1.672, allocations: 8.611 MB / 0.8473 GB, free: 189.5 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001292/1.674, allocations: 133.1 kB / 0.8474 GB, free: 189.4 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003977/1.678, allocations: 4.611 MB / 0.8519 GB, free: 186.7 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.003003/1.681, allocations: 2.296 MB / 0.8542 GB, free: 185.2 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005553/1.686, allocations: 1.468 MB / 0.8556 GB, free: 184.5 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/1.686, allocations: 306.9 kB / 0.8559 GB, free: 184.2 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008079/1.694, allocations: 4.114 MB / 0.8599 GB, free: 182.9 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009653/1.704, allocations: 6.926 MB / 0.8667 GB, free: 178.1 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01629/1.72, allocations: 11.97 MB / 0.8784 GB, free: 170.8 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001855/1.72, allocations: 31.03 kB / 0.8784 GB, free: 170.8 MB / 0.6388 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02305/1.743, allocations: 12.1 MB / 0.8902 GB, free: 166.3 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/1.744, allocations: 49.22 kB / 0.8903 GB, free: 166.3 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001915/1.744, allocations: 92.69 kB / 0.8903 GB, free: 166.3 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/1.745, allocations: 401.4 kB / 0.8907 GB, free: 166.2 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007861/1.753, allocations: 2.024 MB / 0.8927 GB, free: 166 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005942/1.759, allocations: 9.592 MB / 0.9021 GB, free: 157.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008229/1.767, allocations: 1.384 MB / 0.9034 GB, free: 156.6 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/1.769, allocations: 393 kB / 0.9038 GB, free: 156.6 MB / 0.6388 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.009495/1.778, allocations: 4.578 MB / 0.9083 GB, free: 154.5 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002173/1.78, allocations: 0.74 MB / 0.909 GB, free: 154.1 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/1.798, allocations: 10.6 MB / 0.9193 GB, free: 146.5 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-05/1.799, allocations: 68 kB / 0.9194 GB, free: 146.4 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/1.799, allocations: 0 / 0.9194 GB, free: 146.4 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.545e-05/1.799, allocations: 31.88 kB / 0.9194 GB, free: 146.4 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1503/1.949, allocations: 161.4 MB / 1.077 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003357/1.949, allocations: 92 kB / 1.077 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006302/1.956, allocations: 1.556 MB / 1.079 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/1.957, allocations: 384.8 kB / 1.079 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001265/1.958, allocations: 255.9 kB / 1.079 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008311/1.966, allocations: 9.461 MB / 1.089 GB, free: 0.875 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001079/1.966, allocations: 131.4 kB / 1.089 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3464/2.313, allocations: 18.63 MB / 1.107 GB, free: 199.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006166/2.319, allocations: 2.069 MB / 1.109 GB, free: 198.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00303/2.322, allocations: 249.1 kB / 1.109 GB, free: 198.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007475/2.329, allocations: 0.5432 MB / 1.11 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002126/2.332, allocations: 0.7406 MB / 1.11 GB, free: 198.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001063/2.333, allocations: 322.2 kB / 1.111 GB, free: 198.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0126/2.345, allocations: 6.051 MB / 1.117 GB, free: 196.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/2.345, allocations: 1.656 kB / 1.117 GB, free: 196.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01273/2.358, allocations: 2.643 MB / 1.119 GB, free: 195.7 MB / 0.67 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.002798/2.361, allocations: 0.4904 MB / 1.12 GB, free: 195.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01832/2.379, allocations: 10.33 MB / 1.13 GB, free: 191.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.835e-05/2.379, allocations: 13.94 kB / 1.13 GB, free: 191.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008874/2.388, allocations: 5.287 MB / 1.135 GB, free: 189.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01523/2.403, allocations: 1.487 MB / 1.136 GB, free: 188.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05003/2.453, allocations: 24.45 MB / 1.16 GB, free: 176.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01308/2.466, allocations: 7.527 MB / 1.168 GB, free: 170.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004166/2.471, allocations: 0.6968 MB / 1.168 GB, free: 169.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.593e-06/2.471, allocations: 1.531 kB / 1.168 GB, free: 169.6 MB / 0.67 GB Notification: Performance of Templates: time 1.174/3.645, allocations: 0.5414 GB / 1.71 GB, free: 166.7 MB / 0.7013 GB " [Timeout remaining time 656] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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: 24.620437417004723]