Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [: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.001046/0.001046, allocations: 182.7 kB / 8.133 MB, free: 2.18 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.176/1.176, allocations: 221.4 MB / 229.9 MB, free: 3.055 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.0009361/0.000936, allocations: 100 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.546e-06, allocations: 4 kB / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.216, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0964/0.3124, allocations: 86.04 MB / 472.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.3127, allocations: 71.97 kB / 473 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07568/0.3884, allocations: 31.94 MB / 0.4931 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001024/0.3885, allocations: 55.94 kB / 0.4932 GB, free: 0.5898 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.1196/0.5082, allocations: 1.999 MB / 0.4951 GB, free: 94.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5082, allocations: 8.938 kB / 0.4951 GB, free: 94.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.5093, allocations: 257.5 kB / 0.4954 GB, free: 93.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.5113, allocations: 1.261 MB / 0.4966 GB, free: 93.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.5114, allocations: 76.27 kB / 0.4967 GB, free: 93.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.5116, allocations: 126.6 kB / 0.4968 GB, free: 93.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002774/0.5144, allocations: 1.793 MB / 0.4985 GB, free: 93.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/0.5176, allocations: 2.403 MB / 0.5009 GB, free: 93.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.5177, allocations: 3.062 kB / 0.5009 GB, free: 93.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.5179, allocations: 11.42 kB / 0.5009 GB, free: 93.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.5179, allocations: 53.66 kB / 0.501 GB, free: 93.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009828/0.5277, allocations: 7.317 MB / 0.5081 GB, free: 91.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.5284, allocations: 0.6268 MB / 0.5087 GB, free: 91.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008227/0.5293, allocations: 0.6819 MB / 0.5094 GB, free: 91.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.5293, allocations: 11 kB / 0.5094 GB, free: 91.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.5294, allocations: 41.78 kB / 0.5094 GB, free: 91.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.026e-06/0.5294, allocations: 2.156 kB / 0.5094 GB, free: 91.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002895/0.5323, allocations: 2.023 MB / 0.5114 GB, free: 91.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.5323, allocations: 59.5 kB / 0.5115 GB, free: 91.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006662/0.533, allocations: 0.6538 MB / 0.5121 GB, free: 90.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.533, allocations: 25.7 kB / 0.5121 GB, free: 90.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.5334, allocations: 0.8232 MB / 0.5129 GB, free: 90.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.5335, allocations: 218.2 kB / 0.5131 GB, free: 90.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.5335, allocations: 6.922 kB / 0.5131 GB, free: 90.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5336, allocations: 393.9 kB / 0.5135 GB, free: 89.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.5341, allocations: 349.5 kB / 0.5139 GB, free: 89.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.5346, allocations: 0.5506 MB / 0.5144 GB, free: 89.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.5351, allocations: 458.9 kB / 0.5148 GB, free: 89.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5351, allocations: 1 kB / 0.5148 GB, free: 89.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001315/0.5364, allocations: 1.055 MB / 0.5159 GB, free: 89.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.5364, allocations: 3.438 kB / 0.5159 GB, free: 89.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.5365, allocations: 7.312 kB / 0.5159 GB, free: 89.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.5367, allocations: 89.3 kB / 0.516 GB, free: 89.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.5374, allocations: 182.4 kB / 0.5161 GB, free: 89.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.5387, allocations: 1.83 MB / 0.5179 GB, free: 88.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.5392, allocations: 26.09 kB / 0.5179 GB, free: 88.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.5393, allocations: 28.88 kB / 0.518 GB, free: 88.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.5394, allocations: 137.2 kB / 0.5181 GB, free: 88.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5396, allocations: 76.47 kB / 0.5182 GB, free: 88.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.5407, allocations: 0.8642 MB / 0.519 GB, free: 88.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5408, allocations: 6.125 kB / 0.519 GB, free: 88.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5408, allocations: 0 / 0.519 GB, free: 88.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5408, allocations: 4.109 kB / 0.519 GB, free: 88.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.5441, allocations: 2.322 MB / 0.5213 GB, free: 87.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.5442, allocations: 3.969 kB / 0.5213 GB, free: 87.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.5446, allocations: 115.6 kB / 0.5214 GB, free: 87.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.5448, allocations: 81.92 kB / 0.5215 GB, free: 87.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.5449, allocations: 11.03 kB / 0.5215 GB, free: 87.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.5461, allocations: 1.795 MB / 0.5233 GB, free: 86.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5462, allocations: 3.969 kB / 0.5233 GB, free: 86.4 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001467/0.5476, allocations: 1.438 MB / 0.5247 GB, free: 86.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.548, allocations: 223.6 kB / 0.5249 GB, free: 85.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5481, allocations: 8.469 kB / 0.5249 GB, free: 85.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.5485, allocations: 32.02 kB / 0.5249 GB, free: 85.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.5486, allocations: 39.88 kB / 0.5249 GB, free: 85.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.5487, allocations: 18.89 kB / 0.525 GB, free: 85.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005441/0.5492, allocations: 0.5038 MB / 0.5255 GB, free: 85.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001021/0.5503, allocations: 282.4 kB / 0.5257 GB, free: 85.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002301/0.5505, allocations: 145.7 kB / 0.5259 GB, free: 85.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.5517, allocations: 0.9815 MB / 0.5268 GB, free: 85.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5517, allocations: 0 / 0.5268 GB, free: 85.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005874/0.5523, allocations: 0.5562 MB / 0.5274 GB, free: 85.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008571/0.5531, allocations: 177 kB / 0.5275 GB, free: 85.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.5572, allocations: 2.484 MB / 0.53 GB, free: 84.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.5584, allocations: 1.814 MB / 0.5317 GB, free: 83.64 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5584, allocations: 0 / 0.5317 GB, free: 83.64 MB / 378.7 MB Notification: Performance of Templates: time 0.01743/0.5759, allocations: 10.95 MB / 0.5424 GB, free: 83.14 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches