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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 200.1 kB / 8.536 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008658/0.0008657, allocations: 97.05 kB / 286.3 MB, free: 5.242 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.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.51e-06, allocations: 4 kB / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1232, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.442/0.5652, allocations: 111.4 MB / 0.6125 GB, free: 7.672 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/0.5656, allocations: 78.64 kB / 0.6126 GB, free: 7.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.301/1.866, allocations: 402.6 MB / 1.006 GB, free: 59.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006878/1.867, allocations: 255.2 kB / 1.006 GB, free: 59.68 MB / 0.5261 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.03563/1.903, allocations: 10.42 MB / 1.016 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.903, allocations: 8.438 kB / 1.016 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04312/1.946, allocations: 7.025 MB / 1.023 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.018/1.964, allocations: 7.695 MB / 1.031 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000842/1.965, allocations: 369.5 kB / 1.031 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005842/1.971, allocations: 0.6534 MB / 1.032 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03566/2.006, allocations: 16.37 MB / 1.048 GB, free: 54.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05113/2.058, allocations: 17.75 MB / 1.065 GB, free: 52.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005799/2.058, allocations: 22.59 kB / 1.065 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004599/2.063, allocations: 7.75 kB / 1.065 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001591/2.064, allocations: 0.9575 MB / 1.066 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1212/2.186, allocations: 58.54 MB / 1.123 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/2.197, allocations: 8.684 MB / 1.132 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006231/2.204, allocations: 5.101 MB / 1.136 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/2.204, allocations: 321.7 kB / 1.137 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/2.204, allocations: 103.9 kB / 1.137 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 7.675e-06/2.204, allocations: 0 / 1.137 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.01798/2.222, allocations: 9.057 MB / 1.146 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/2.222, allocations: 123.7 kB / 1.146 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006585/2.229, allocations: 3.226 MB / 1.149 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001237/2.23, allocations: 25.7 kB / 1.149 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003381/2.234, allocations: 4.122 MB / 1.153 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003041/2.237, allocations: 2.106 MB / 1.155 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000691/2.237, allocations: 0 / 1.155 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006338/2.238, allocations: 0.6159 MB / 1.156 GB, free: 2.484 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01395/2.252, allocations: 4.963 MB / 1.161 GB, free: 0 / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.224/2.476, allocations: 7.176 MB / 1.168 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/2.487, allocations: 6.263 MB / 1.174 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/2.487, allocations: 25.91 kB / 1.174 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02176/2.508, allocations: 12.17 MB / 1.186 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/2.509, allocations: 7.344 kB / 1.186 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/2.509, allocations: 90.28 kB / 1.186 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009355/2.51, allocations: 425.8 kB / 1.186 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007812/2.517, allocations: 1.97 MB / 1.188 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/2.522, allocations: 8.497 MB / 1.196 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006757/2.529, allocations: 0.7934 MB / 1.197 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001465/2.531, allocations: 372.9 kB / 1.197 GB, free: 109.4 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.0016/2.532, allocations: 359.8 kB / 1.198 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/2.534, allocations: 460.4 kB / 1.198 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/2.551, allocations: 11.23 MB / 1.209 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.642e-05/2.552, allocations: 67.5 kB / 1.209 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.148e-05/2.552, allocations: 15.22 kB / 1.209 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.416e-05/2.552, allocations: 32.86 kB / 1.209 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1245/2.676, allocations: 119.5 MB / 1.326 GB, free: 66.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001098/2.676, allocations: 72 kB / 1.326 GB, free: 66.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006827/2.683, allocations: 1.5 MB / 1.328 GB, free: 65.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009365/2.684, allocations: 394.5 kB / 1.328 GB, free: 64.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000833/2.685, allocations: 134.2 kB / 1.328 GB, free: 64.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005166/2.69, allocations: 8.467 MB / 1.336 GB, free: 55.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.668e-05/2.69, allocations: 119.2 kB / 1.336 GB, free: 55.84 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02945/2.72, allocations: 26.76 MB / 1.363 GB, free: 27.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002691/2.722, allocations: 0.7345 MB / 1.363 GB, free: 26.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002551/2.725, allocations: 110.4 kB / 1.363 GB, free: 26.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006243/2.731, allocations: 397.1 kB / 1.364 GB, free: 26.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00156/2.733, allocations: 0.5723 MB / 1.364 GB, free: 26.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007272/2.734, allocations: 287.4 kB / 1.365 GB, free: 25.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.003554/2.737, allocations: 2.421 MB / 1.367 GB, free: 23.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01094/2.748, allocations: 2.697 MB / 1.37 GB, free: 21.35 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 329 * 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.001689/2.75, allocations: 355.2 kB / 1.37 GB, free: 21.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01478/2.765, allocations: 10.83 MB / 1.38 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.61e-05/2.765, allocations: 13.88 kB / 1.38 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008718/2.774, allocations: 5.674 MB / 1.386 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007228/2.781, allocations: 0.9407 MB / 1.387 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.304/3.085, allocations: 20.74 MB / 1.407 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01544/3.1, allocations: 8.514 MB / 1.416 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.123e-06/3.1, allocations: 0 / 1.416 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.1509/3.251, allocations: 92.35 MB / 1.506 GB, free: 95.45 MB / 0.5417 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