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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007934/0.0007935, allocations: 105.8 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1892/0.1892, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.347e-05, allocations: 0 / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.09809, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.4895, allocations: 111.5 MB / 0.6132 GB, free: 7.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4898, allocations: 78.02 kB / 0.6133 GB, free: 7.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267/1.757, allocations: 403.9 MB / 1.008 GB, free: 75.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.913e-06/1.757, allocations: 0 / 1.008 GB, free: 75.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000585/1.758, allocations: 253.3 kB / 1.008 GB, free: 75.82 MB / 0.5417 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.03352/1.791, allocations: 10.43 MB / 1.018 GB, free: 72.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.791, allocations: 7.719 kB / 1.018 GB, free: 72.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03782/1.829, allocations: 7.723 MB / 1.026 GB, free: 72.06 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/1.845, allocations: 7.658 MB / 1.033 GB, free: 71.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007207/1.846, allocations: 372.2 kB / 1.034 GB, free: 71.07 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004599/1.851, allocations: 0.6516 MB / 1.034 GB, free: 71.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02935/1.88, allocations: 16 MB / 1.05 GB, free: 71.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03845/1.919, allocations: 17.43 MB / 1.067 GB, free: 68.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004628/1.919, allocations: 22.77 kB / 1.067 GB, free: 68.72 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002554/1.922, allocations: 7.531 kB / 1.067 GB, free: 68.72 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007977/1.922, allocations: 0.9176 MB / 1.068 GB, free: 68.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09388/2.016, allocations: 58.48 MB / 1.125 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01875/2.035, allocations: 17.25 MB / 1.142 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006158/2.041, allocations: 4.447 MB / 1.146 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/2.042, allocations: 315 kB / 1.146 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.176e-05/2.042, allocations: 107.1 kB / 1.146 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=653): time 7.855e-06/2.042, allocations: 0 / 1.146 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=653): time 0.02511/2.067, allocations: 10.98 MB / 1.157 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/2.067, allocations: 120.5 kB / 1.157 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3364/2.404, allocations: 3.241 MB / 1.16 GB, free: 74.92 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001422/2.405, allocations: 29.23 kB / 1.16 GB, free: 74.89 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002516/2.408, allocations: 4.539 MB / 1.165 GB, free: 73.44 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001959/2.41, allocations: 2.095 MB / 1.167 GB, free: 72.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004303/2.41, allocations: 0 / 1.167 GB, free: 72.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000323/2.41, allocations: 0.62 MB / 1.168 GB, free: 71.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004576/2.415, allocations: 4.09 MB / 1.172 GB, free: 71.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00736/2.422, allocations: 6.824 MB / 1.178 GB, free: 68.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02451/2.447, allocations: 8.575 MB / 1.187 GB, free: 68.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002342/2.447, allocations: 25.47 kB / 1.187 GB, free: 68.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.03196/2.479, allocations: 14.2 MB / 1.2 GB, free: 67.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/2.479, allocations: 45.88 kB / 1.201 GB, free: 67.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/2.479, allocations: 92.02 kB / 1.201 GB, free: 67.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008517/2.48, allocations: 418.8 kB / 1.201 GB, free: 67.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00819/2.489, allocations: 2.059 MB / 1.203 GB, free: 67.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005063/2.494, allocations: 8.578 MB / 1.211 GB, free: 60.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007534/2.501, allocations: 0.9239 MB / 1.212 GB, free: 60.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/2.503, allocations: 374.6 kB / 1.213 GB, free: 60.24 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003309/2.507, allocations: 361.8 kB / 1.213 GB, free: 60.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/2.508, allocations: 460.6 kB / 1.213 GB, free: 59.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02316/2.531, allocations: 12.16 MB / 1.225 GB, free: 59.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-05/2.531, allocations: 68.44 kB / 1.225 GB, free: 59.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/2.531, allocations: 0 / 1.225 GB, free: 59.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.485e-05/2.531, allocations: 33.23 kB / 1.225 GB, free: 59.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5175/3.049, allocations: 165.8 MB / 1.387 GB, free: 96.58 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002411/3.049, allocations: 85.34 kB / 1.387 GB, free: 96.58 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006707/3.056, allocations: 1.606 MB / 1.389 GB, free: 96.58 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/3.057, allocations: 389 kB / 1.389 GB, free: 96.54 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001069/3.058, allocations: 154 kB / 1.39 GB, free: 96.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006298/3.064, allocations: 8.471 MB / 1.398 GB, free: 89.49 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001391/3.065, allocations: 131.9 kB / 1.398 GB, free: 89.49 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03514/3.1, allocations: 29.24 MB / 1.426 GB, free: 72.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/3.102, allocations: 0.7632 MB / 1.427 GB, free: 72.47 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/3.103, allocations: 131.2 kB / 1.427 GB, free: 72.47 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005068/3.108, allocations: 0.5133 MB / 1.428 GB, free: 72.46 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009618/3.109, allocations: 0.7219 MB / 1.429 GB, free: 72.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000518/3.11, allocations: 308.3 kB / 1.429 GB, free: 72.36 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003456/3.113, allocations: 2.345 MB / 1.431 GB, free: 72.21 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.2e-07/3.113, allocations: 0 / 1.431 GB, free: 72.21 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009835/3.123, allocations: 2.688 MB / 1.434 GB, free: 71.85 MB / 0.573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/3.125, allocations: 379.7 kB / 1.434 GB, free: 71.75 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01429/3.139, allocations: 10.15 MB / 1.444 GB, free: 71.04 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.796e-05/3.139, allocations: 12.12 kB / 1.444 GB, free: 71.04 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007333/3.146, allocations: 5.376 MB / 1.449 GB, free: 70.29 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006788/3.153, allocations: 1.025 MB / 1.45 GB, free: 70.26 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03599/3.189, allocations: 20.27 MB / 1.47 GB, free: 63.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/3.201, allocations: 8.002 MB / 1.478 GB, free: 62.91 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01031/3.212, allocations: 3.197 MB / 1.481 GB, free: 62.67 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002605/3.214, allocations: 480.5 kB / 1.481 GB, free: 62.66 MB / 0.573 GB Notification: Performance of SimCode: time 1.503e-06/3.214, allocations: 0 / 1.481 GB, free: 62.66 MB / 0.573 GB Notification: Performance of Templates: time 0.1188/3.333, allocations: 76.15 MB / 1.556 GB, free: 27.26 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches