Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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) 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [: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.0009978/0.0009978, allocations: 183.4 kB / 8.135 MB, free: 2.219 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.152/1.152, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.000977/0.000977, allocations: 92.92 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.504e-06, allocations: 4 kB / 336.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1927, allocations: 50.39 MB / 386.9 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09432/0.2871, allocations: 88.75 MB / 475.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.2874, allocations: 88.48 kB / 475.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.7075/0.9949, allocations: 205.7 MB / 0.6654 GB, free: 62.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003284/0.9953, allocations: 130.7 kB / 0.6656 GB, free: 62.51 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01837/1.014, allocations: 5.85 MB / 0.6713 GB, free: 60.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.014, allocations: 7.219 kB / 0.6713 GB, free: 60.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/1.028, allocations: 2.116 MB / 0.6733 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008765/1.036, allocations: 3.843 MB / 0.6771 GB, free: 59.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/1.037, allocations: 196.7 kB / 0.6773 GB, free: 59.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001987/1.039, allocations: 350.2 kB / 0.6776 GB, free: 59.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01239/1.051, allocations: 6.874 MB / 0.6843 GB, free: 59.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/1.07, allocations: 8.254 MB / 0.6924 GB, free: 59.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002691/1.07, allocations: 7.688 kB / 0.6924 GB, free: 59.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001401/1.071, allocations: 3.625 kB / 0.6924 GB, free: 59.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004127/1.072, allocations: 485.2 kB / 0.6929 GB, free: 59.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0423/1.114, allocations: 27.55 MB / 0.7198 GB, free: 52.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004802/1.119, allocations: 2.846 MB / 0.7226 GB, free: 51.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/1.121, allocations: 1.632 MB / 0.7241 GB, free: 50.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/1.121, allocations: 149.3 kB / 0.7243 GB, free: 50.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/1.121, allocations: 62.44 kB / 0.7243 GB, free: 50.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 4.949e-06/1.121, allocations: 0 / 0.7243 GB, free: 50.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.004991/1.126, allocations: 3.017 MB / 0.7273 GB, free: 49.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/1.126, allocations: 105.7 kB / 0.7274 GB, free: 49.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/1.129, allocations: 1.632 MB / 0.729 GB, free: 49.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/1.129, allocations: 25.7 kB / 0.729 GB, free: 49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009193/1.13, allocations: 2.357 MB / 0.7313 GB, free: 47.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005424/1.13, allocations: 0.8113 MB / 0.7321 GB, free: 46.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/1.13, allocations: 0 / 0.7321 GB, free: 46.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/1.131, allocations: 455 kB / 0.7325 GB, free: 46.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/1.133, allocations: 1.55 MB / 0.7341 GB, free: 45.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/1.135, allocations: 2.713 MB / 0.7367 GB, free: 43.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003439/1.138, allocations: 2.297 MB / 0.7389 GB, free: 42.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-05/1.138, allocations: 17.38 kB / 0.739 GB, free: 42.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=454) (initialization): time 0.007717/1.146, allocations: 4.711 MB / 0.7436 GB, free: 41.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.146, allocations: 4 kB / 0.7436 GB, free: 41.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.046e-05/1.146, allocations: 40 kB / 0.7436 GB, free: 41.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007549/1.147, allocations: 309.5 kB / 0.7439 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/1.15, allocations: 0.7716 MB / 0.7447 GB, free: 40.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004128/1.154, allocations: 4.376 MB / 0.7489 GB, free: 36.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/1.157, allocations: 341.6 kB / 0.7493 GB, free: 35.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004571/1.157, allocations: 170.4 kB / 0.7494 GB, free: 35.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005693/1.158, allocations: 215.1 kB / 0.7496 GB, free: 35.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005463/1.159, allocations: 209.4 kB / 0.7498 GB, free: 35.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006148/1.165, allocations: 3.603 MB / 0.7533 GB, free: 32.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/1.165, allocations: 28 kB / 0.7534 GB, free: 32.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/1.165, allocations: 8 kB / 0.7534 GB, free: 32.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/1.165, allocations: 17.92 kB / 0.7534 GB, free: 32.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/1.182, allocations: 11.82 MB / 0.7649 GB, free: 21.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/1.182, allocations: 12 kB / 0.765 GB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.184, allocations: 444.8 kB / 0.7654 GB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006755/1.185, allocations: 275.6 kB / 0.7656 GB, free: 21.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/1.185, allocations: 31.42 kB / 0.7657 GB, free: 21.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003746/1.189, allocations: 4.289 MB / 0.7699 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/1.189, allocations: 20.97 kB / 0.7699 GB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007412/1.196, allocations: 6.658 MB / 0.7764 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007458/1.197, allocations: 332.6 kB / 0.7767 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004033/1.197, allocations: 27.39 kB / 0.7767 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.199, allocations: 86.66 kB / 0.7768 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/1.199, allocations: 174.6 kB / 0.777 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/1.199, allocations: 87.94 kB / 0.7771 GB, free: 9.582 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001576/1.201, allocations: 1.207 MB / 0.7782 GB, free: 8.543 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004201/1.205, allocations: 1.34 MB / 0.7795 GB, free: 7.195 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005293/1.206, allocations: 211.2 kB / 0.7797 GB, free: 6.992 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005125/1.211, allocations: 3.817 MB / 0.7835 GB, free: 3.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.211, allocations: 4 kB / 0.7835 GB, free: 3.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002289/1.213, allocations: 1.763 MB / 0.7852 GB, free: 1.906 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/1.216, allocations: 397.6 kB / 0.7856 GB, free: 1.605 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/1.237, allocations: 8.632 MB / 0.794 GB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006154/1.244, allocations: 4.311 MB / 0.7982 GB, free: 6.855 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.244, allocations: 0 / 0.7982 GB, free: 6.855 MB / 442.7 MB Notification: Performance of Templates: time 0.2402/1.484, allocations: 38.26 MB / 0.8356 GB, free: 109.1 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches