Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 98.84 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5318/0.5318, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006212/0.0006214, allocations: 16 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1232, allocations: 58.84 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.49/0.6132, allocations: 107.3 MB / 0.5835 GB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/0.6136, allocations: 87.95 kB / 0.5836 GB, free: 11.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963/2.577, allocations: 388.2 MB / 0.9627 GB, free: 49.24 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.505e-06/2.577, allocations: 7.469 kB / 0.9627 GB, free: 49.24 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0008249/2.578, allocations: 249 kB / 0.963 GB, free: 49.22 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05477/2.633, allocations: 11 MB / 0.9737 GB, free: 45.75 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/2.633, allocations: 11.72 kB / 0.9737 GB, free: 45.75 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06858/2.701, allocations: 8.431 MB / 0.9819 GB, free: 44.69 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02491/2.726, allocations: 7.499 MB / 0.9893 GB, free: 40.82 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001578/2.728, allocations: 0.8623 MB / 0.9901 GB, free: 40.44 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006576/2.734, allocations: 1.131 MB / 0.9912 GB, free: 40.07 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07098/2.806, allocations: 21.17 MB / 1.012 GB, free: 29.38 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007892/2.806, allocations: 15.19 kB / 1.012 GB, free: 29.37 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005944/2.812, allocations: 497.3 kB / 1.012 GB, free: 28.9 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001427/2.814, allocations: 0.8459 MB / 1.013 GB, free: 28.14 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06006/2.874, allocations: 19.88 MB / 1.033 GB, free: 10.81 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6467/3.521, allocations: 60.05 MB / 1.091 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04691/3.568, allocations: 24.03 MB / 1.115 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002156/3.57, allocations: 362 kB / 1.115 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/3.57, allocations: 141.6 kB / 1.115 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1196): time 2.799e-05/3.57, allocations: 0 / 1.115 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1196): time 0.09446/3.665, allocations: 37.51 MB / 1.152 GB, free: 38.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/3.665, allocations: 154.3 kB / 1.152 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007605/3.672, allocations: 2.805 MB / 1.155 GB, free: 37.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002857/3.675, allocations: 188.1 kB / 1.155 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002703/3.678, allocations: 3.306 MB / 1.158 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.006705/3.685, allocations: 3.893 MB / 1.162 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002999/3.688, allocations: 174.4 kB / 1.162 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001523/3.689, allocations: 0.7224 MB / 1.163 GB, free: 31.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01943/3.709, allocations: 7.09 MB / 1.17 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02153/3.731, allocations: 8.024 MB / 1.178 GB, free: 25.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02292/3.754, allocations: 8.351 MB / 1.186 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.341e-05/3.754, allocations: 3.594 kB / 1.186 GB, free: 21.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.05749/3.811, allocations: 18.69 MB / 1.204 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/3.811, allocations: 11.91 kB / 1.204 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.701e-05/3.811, allocations: 11.03 kB / 1.204 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/3.822, allocations: 3.776 MB / 1.208 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01606/3.838, allocations: 1.913 MB / 1.21 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02942/3.867, allocations: 21.64 MB / 1.231 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/3.878, allocations: 1.127 MB / 1.232 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003139/3.881, allocations: 338.3 kB / 1.232 GB, free: 12.07 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (933): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.01473/3.896, allocations: 4.537 MB / 1.237 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003811/3.9, allocations: 0.5671 MB / 1.237 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1035/4.003, allocations: 22.58 MB / 1.259 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005235/4.004, allocations: 285.9 kB / 1.259 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.742e-05/4.004, allocations: 0 / 1.259 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002295/4.004, allocations: 53.53 kB / 1.259 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5334/4.537, allocations: 38.77 MB / 1.297 GB, free: 105.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001394/4.538, allocations: 0 / 1.297 GB, free: 105.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01533/4.553, allocations: 1.774 MB / 1.299 GB, free: 105.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01082/4.564, allocations: 3.745 MB / 1.303 GB, free: 105.3 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003126/4.567, allocations: 255.8 kB / 1.303 GB, free: 105.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02766/4.595, allocations: 21.52 MB / 1.324 GB, free: 92.63 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/4.595, allocations: 1.562 kB / 1.324 GB, free: 92.63 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08659/4.681, allocations: 30.44 MB / 1.354 GB, free: 90.33 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/4.684, allocations: 0.8604 MB / 1.355 GB, free: 89.88 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003838/4.688, allocations: 171.2 kB / 1.355 GB, free: 89.75 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009869/4.698, allocations: 0.5872 MB / 1.355 GB, free: 89.62 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004467/4.702, allocations: 0.8456 MB / 1.356 GB, free: 89.46 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003136/4.705, allocations: 320.7 kB / 1.356 GB, free: 89.38 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.005632/4.711, allocations: 2.179 MB / 1.359 GB, free: 88.61 MB / 0.5574 GB Notification: Performance of sort global known variables: time 7.02e-07/4.711, allocations: 0 / 1.359 GB, free: 88.61 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01477/4.726, allocations: 3.086 MB / 1.362 GB, free: 88.04 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (921): * Single equations (assignments): 806 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00345/4.729, allocations: 410.5 kB / 1.362 GB, free: 87.82 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04898/4.778, allocations: 17.81 MB / 1.379 GB, free: 81.05 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/4.778, allocations: 0 / 1.379 GB, free: 81.05 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0274/4.806, allocations: 9.815 MB / 1.389 GB, free: 77.15 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01112/4.817, allocations: 0.9852 MB / 1.39 GB, free: 76.86 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08186/4.899, allocations: 31.75 MB / 1.421 GB, free: 55.91 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0183/4.917, allocations: 8.013 MB / 1.429 GB, free: 49.78 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006775/4.924, allocations: 0.5536 MB / 1.429 GB, free: 49.26 MB / 0.5574 GB Notification: Performance of SimCode: time 1.282e-06/4.924, allocations: 0 / 1.429 GB, free: 49.26 MB / 0.5574 GB Notification: Performance of Templates: time 4.385/9.309, allocations: 1.148 GB / 2.577 GB, free: 121.5 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches