Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001721/0.001721, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002101/0.002101, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.533/1.533, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2317/0.2317, allocations: 46.88 MB / 361.1 MB, free: 4.637 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 80.2 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.309, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.0253/0.3343, allocations: 19.87 MB / 0.5806 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.3466, allocations: 5 MB / 0.5855 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003875/0.3505, allocations: 163.5 kB / 0.5856 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01876/0.3693, allocations: 7.843 MB / 0.5933 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00793/0.3772, allocations: 2.066 MB / 0.5953 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004291/0.3815, allocations: 1.41 MB / 0.5967 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01639/0.3979, allocations: 12.17 MB / 0.6086 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03202/0.4299, allocations: 15.78 MB / 0.624 GB, free: 4.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0124/0.4423, allocations: 6.542 MB / 0.6304 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01295/0.4553, allocations: 7.284 MB / 0.6375 GB, free: 6.492 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005071/0.4603, allocations: 1.719 MB / 0.6392 GB, free: 4.773 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006352/0.4667, allocations: 1.918 MB / 0.641 GB, free: 2.855 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006176/0.4729, allocations: 3.663 MB / 0.6446 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01292/0.4858, allocations: 7.007 MB / 0.6515 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03303/0.5188, allocations: 23.68 MB / 0.6746 GB, free: 400 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5188, allocations: 0 / 0.6746 GB, free: 400 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5188, allocations: 0 / 0.6746 GB, free: 400 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008032/0.5196, allocations: 0 / 0.6746 GB, free: 400 kB / 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.04982/0.5694, allocations: 14.82 MB / 0.6891 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.5695, allocations: 12.03 kB / 0.6891 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06418/0.6337, allocations: 11.17 MB / 0.7 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0196/0.6533, allocations: 7.363 MB / 0.7072 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/0.6545, allocations: 0.8871 MB / 0.708 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006448/0.661, allocations: 1.179 MB / 0.7092 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05427/0.7152, allocations: 18.61 MB / 0.7274 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006251/0.7159, allocations: 19.89 kB / 0.7274 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004563/0.7204, allocations: 496 kB / 0.7279 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008705/0.7213, allocations: 0.6578 MB / 0.7285 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3179/1.039, allocations: 19.14 MB / 0.7472 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/1.141, allocations: 60.35 MB / 0.8061 GB, free: 87.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.16, allocations: 16.11 MB / 0.8219 GB, free: 70.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006368/1.166, allocations: 4.22 MB / 0.826 GB, free: 66.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006798/1.167, allocations: 393.2 kB / 0.8264 GB, free: 65.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.968e-05/1.167, allocations: 107.7 kB / 0.8265 GB, free: 65.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=653): time 1.247e-05/1.167, allocations: 4 kB / 0.8265 GB, free: 65.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=653): time 0.02108/1.188, allocations: 12.45 MB / 0.8386 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/1.188, allocations: 116.5 kB / 0.8387 GB, free: 53.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01522/1.203, allocations: 8.608 MB / 0.8471 GB, free: 44.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001333/1.205, allocations: 137.7 kB / 0.8473 GB, free: 44.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003964/1.209, allocations: 4.611 MB / 0.8518 GB, free: 39.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002543/1.211, allocations: 2.299 MB / 0.854 GB, free: 37.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004914/1.216, allocations: 1.463 MB / 0.8554 GB, free: 35.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/1.216, allocations: 305.1 kB / 0.8557 GB, free: 35.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006444/1.223, allocations: 4.109 MB / 0.8597 GB, free: 31.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008075/1.231, allocations: 6.925 MB / 0.8665 GB, free: 23.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/1.245, allocations: 11.99 MB / 0.8782 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/1.246, allocations: 24 kB / 0.8782 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02259/1.268, allocations: 12.09 MB / 0.89 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/1.268, allocations: 44.62 kB / 0.8901 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002117/1.268, allocations: 92 kB / 0.8902 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/1.27, allocations: 416.9 kB / 0.8906 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008401/1.278, allocations: 2.02 MB / 0.8925 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008566/1.287, allocations: 9.586 MB / 0.9019 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008444/1.295, allocations: 1.385 MB / 0.9033 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00174/1.297, allocations: 387.9 kB / 0.9036 GB, free: 15.03 MB / 0.5919 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.01011/1.307, allocations: 4.588 MB / 0.9081 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001706/1.309, allocations: 0.7335 MB / 0.9088 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02072/1.329, allocations: 10.6 MB / 0.9192 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/1.329, allocations: 71.94 kB / 0.9193 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/1.329, allocations: 3.938 kB / 0.9193 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000124/1.33, allocations: 31.88 kB / 0.9193 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4667/1.796, allocations: 161.5 MB / 1.077 GB, free: 173.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003467/1.797, allocations: 84 kB / 1.077 GB, free: 173.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005893/1.803, allocations: 1.556 MB / 1.079 GB, free: 171.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008053/1.803, allocations: 380.7 kB / 1.079 GB, free: 171.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008455/1.804, allocations: 255.9 kB / 1.079 GB, free: 170.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004718/1.809, allocations: 9.457 MB / 1.088 GB, free: 160.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-05/1.809, allocations: 139.4 kB / 1.089 GB, free: 160.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01969/1.829, allocations: 18.64 MB / 1.107 GB, free: 140.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006337/1.835, allocations: 2.071 MB / 1.109 GB, free: 138.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002338/1.837, allocations: 235.9 kB / 1.109 GB, free: 138.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006312/1.844, allocations: 0.5502 MB / 1.11 GB, free: 137.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001606/1.845, allocations: 0.7457 MB / 1.11 GB, free: 137 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005834/1.846, allocations: 316.5 kB / 1.111 GB, free: 136.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01024/1.856, allocations: 6.051 MB / 1.116 GB, free: 130.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.31e-07/1.856, allocations: 0 / 1.116 GB, free: 130.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01149/1.868, allocations: 2.646 MB / 1.119 GB, free: 128 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.002011/1.87, allocations: 0.4887 MB / 1.12 GB, free: 127.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01493/1.884, allocations: 10.33 MB / 1.13 GB, free: 117.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.858e-05/1.885, allocations: 12 kB / 1.13 GB, free: 117.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007413/1.892, allocations: 5.297 MB / 1.135 GB, free: 111.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01228/1.904, allocations: 1.483 MB / 1.136 GB, free: 110.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0359/1.94, allocations: 24.99 MB / 1.161 GB, free: 84 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008602/1.949, allocations: 7.773 MB / 1.168 GB, free: 76.19 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008057/1.957, allocations: 3.558 MB / 1.172 GB, free: 72.62 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/1.959, allocations: 0.6321 MB / 1.172 GB, free: 71.98 MB / 0.67 GB Notification: Performance of SimCode: time 1.413e-06/1.959, allocations: 1.422 kB / 1.172 GB, free: 71.98 MB / 0.67 GB Notification: Performance of Templates: time 0.4427/2.402, allocations: 97.45 MB / 1.267 GB, free: 221.9 MB / 0.6856 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 10.60039215395227]