Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009912/0.0009913, allocations: 187.6 kB / 8.525 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 221.4 MB / 230.3 MB, free: 7.684 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 81.67 kB / 281.2 MB, free: 5.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1575/0.1575, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.512e-06/6.523e-06, allocations: 0 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.09925, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3171/0.4164, allocations: 110.3 MB / 0.6018 GB, free: 2.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4167, allocations: 79.95 kB / 0.6019 GB, free: 2.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.157/1.573, allocations: 382.1 MB / 0.975 GB, free: 59.26 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006295/1.574, allocations: 252 kB / 0.9753 GB, free: 59.24 MB / 0.5105 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.03904/1.613, allocations: 10.42 MB / 0.9855 GB, free: 56.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/1.613, allocations: 11.09 kB / 0.9855 GB, free: 56.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04272/1.656, allocations: 7.018 MB / 0.9923 GB, free: 55.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0207/1.677, allocations: 7.701 MB / 0.9998 GB, free: 54.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000753/1.677, allocations: 366.5 kB / 1 GB, free: 54.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004758/1.682, allocations: 0.6509 MB / 1.001 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03411/1.716, allocations: 16.37 MB / 1.017 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05189/1.768, allocations: 17.76 MB / 1.034 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005279/1.769, allocations: 19.02 kB / 1.034 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002896/1.772, allocations: 11.31 kB / 1.034 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/1.773, allocations: 0.9572 MB / 1.035 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1117/1.884, allocations: 58.31 MB / 1.092 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/1.899, allocations: 8.68 MB / 1.101 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007823/1.906, allocations: 5.108 MB / 1.106 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/1.907, allocations: 234 kB / 1.106 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.586e-05/1.907, allocations: 103.9 kB / 1.106 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 8.085e-06/1.907, allocations: 0 / 1.106 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.245/2.152, allocations: 8.947 MB / 1.115 GB, free: 120 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/2.152, allocations: 118.4 kB / 1.115 GB, free: 120 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005211/2.157, allocations: 3.232 MB / 1.118 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/2.159, allocations: 25.7 kB / 1.118 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002123/2.161, allocations: 4.126 MB / 1.122 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002197/2.163, allocations: 2.098 MB / 1.124 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/2.163, allocations: 2.5 kB / 1.124 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003675/2.164, allocations: 0.623 MB / 1.125 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005566/2.169, allocations: 4.447 MB / 1.129 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007433/2.177, allocations: 7.176 MB / 1.136 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/2.187, allocations: 6.255 MB / 1.142 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/2.187, allocations: 29.38 kB / 1.142 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02214/2.21, allocations: 12.16 MB / 1.154 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/2.21, allocations: 11.34 kB / 1.154 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002108/2.21, allocations: 90.78 kB / 1.154 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/2.211, allocations: 425.1 kB / 1.154 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008992/2.22, allocations: 1.968 MB / 1.156 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005468/2.225, allocations: 8.504 MB / 1.165 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008129/2.234, allocations: 0.7911 MB / 1.165 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002074/2.236, allocations: 373.6 kB / 1.166 GB, free: 105.1 MB / 0.5261 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.001667/2.237, allocations: 361.6 kB / 1.166 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/2.239, allocations: 460.5 kB / 1.167 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/2.257, allocations: 11.23 MB / 1.178 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/2.257, allocations: 67.59 kB / 1.178 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/2.257, allocations: 0 / 1.178 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.418e-05/2.257, allocations: 40.7 kB / 1.178 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1241/2.381, allocations: 116.1 MB / 1.291 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002091/2.381, allocations: 72 kB / 1.291 GB, free: 44.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006696/2.388, allocations: 1.498 MB / 1.293 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009756/2.389, allocations: 390.9 kB / 1.293 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001045/2.39, allocations: 135.1 kB / 1.293 GB, free: 43.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004663/2.395, allocations: 8.479 MB / 1.301 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-05/2.395, allocations: 113.3 kB / 1.301 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02732/2.422, allocations: 26.76 MB / 1.328 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/2.424, allocations: 0.736 MB / 1.328 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002044/2.426, allocations: 111.4 kB / 1.328 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005252/2.431, allocations: 394.7 kB / 1.329 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/2.433, allocations: 0.5685 MB / 1.329 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005301/2.433, allocations: 293 kB / 1.33 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00353/2.437, allocations: 2.421 MB / 1.332 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.2485/2.685, allocations: 2.69 MB / 1.335 GB, free: 109.6 MB / 0.5261 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.002236/2.687, allocations: 348.2 kB / 1.335 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01654/2.704, allocations: 10.83 MB / 1.346 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.458e-05/2.704, allocations: 12.28 kB / 1.346 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00983/2.714, allocations: 5.676 MB / 1.351 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007746/2.722, allocations: 0.9503 MB / 1.352 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04353/2.765, allocations: 20.23 MB / 1.372 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0129/2.778, allocations: 8.515 MB / 1.38 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.954e-06/2.778, allocations: 0 / 1.38 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.148/2.926, allocations: 92.31 MB / 1.47 GB, free: 78.9 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches