Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.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) 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(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.00117/0.00117, allocations: 193.5 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008537/0.0008536, allocations: 93.98 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.851e-06, allocations: 0 / 343.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08388/0.0839, allocations: 51.48 MB / 394.6 MB, free: 5.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.313, allocations: 86.84 MB / 481.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.3132, allocations: 80.61 kB / 481.5 MB, free: 6.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07241/0.3856, allocations: 31.97 MB / 0.5015 GB, free: 12.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.461e-05/0.3857, allocations: 55.94 kB / 0.5015 GB, free: 11.96 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.003235/0.389, allocations: 1.993 MB / 0.5035 GB, free: 9.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.389, allocations: 11.97 kB / 0.5035 GB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000877/0.3899, allocations: 293.1 kB / 0.5038 GB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.3918, allocations: 1.258 MB / 0.505 GB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.3919, allocations: 75.94 kB / 0.5051 GB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.3922, allocations: 128 kB / 0.5052 GB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002939/0.3951, allocations: 1.809 MB / 0.5069 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/0.3988, allocations: 2.396 MB / 0.5093 GB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/0.3989, allocations: 0 / 0.5093 GB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.399, allocations: 3.906 kB / 0.5093 GB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.3991, allocations: 56 kB / 0.5093 GB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.4099, allocations: 7.325 MB / 0.5165 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.4107, allocations: 0.629 MB / 0.5171 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009729/0.4117, allocations: 0.691 MB / 0.5178 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.4117, allocations: 4.5 kB / 0.5178 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.4118, allocations: 43 kB / 0.5178 GB, free: 10.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 2.585e-06/0.4118, allocations: 0 / 0.5178 GB, free: 10.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.003278/0.4151, allocations: 2.02 MB / 0.5198 GB, free: 8.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.4151, allocations: 60.06 kB / 0.5199 GB, free: 8.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007932/0.4159, allocations: 0.6558 MB / 0.5205 GB, free: 7.988 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.416, allocations: 25.7 kB / 0.5205 GB, free: 7.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.4164, allocations: 0.8239 MB / 0.5213 GB, free: 7.117 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.4166, allocations: 216.8 kB / 0.5215 GB, free: 6.902 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.4166, allocations: 3.938 kB / 0.5215 GB, free: 6.898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4167, allocations: 390.8 kB / 0.5219 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.4172, allocations: 349.6 kB / 0.5222 GB, free: 6.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.4178, allocations: 0.5495 MB / 0.5228 GB, free: 5.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.4184, allocations: 458.8 kB / 0.5232 GB, free: 5.074 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4184, allocations: 7.906 kB / 0.5232 GB, free: 5.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001522/0.42, allocations: 1.042 MB / 0.5242 GB, free: 4.012 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.42, allocations: 11.91 kB / 0.5243 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.42, allocations: 8 kB / 0.5243 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.4203, allocations: 85.28 kB / 0.5243 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.421, allocations: 183.7 kB / 0.5245 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.4227, allocations: 1.829 MB / 0.5263 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.4232, allocations: 24.05 kB / 0.5263 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.4233, allocations: 36 kB / 0.5264 GB, free: 1.723 MB / 394.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.0001405/0.4234, allocations: 128.6 kB / 0.5265 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.4236, allocations: 79.06 kB / 0.5266 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.425, allocations: 0.8637 MB / 0.5274 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.425, allocations: 8 kB / 0.5274 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.425, allocations: 0 / 0.5274 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.425, allocations: 3.984 kB / 0.5274 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/0.4287, allocations: 2.321 MB / 0.5297 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.4287, allocations: 3.938 kB / 0.5297 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.4293, allocations: 124 kB / 0.5298 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.4295, allocations: 72.97 kB / 0.5299 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.4295, allocations: 4 kB / 0.5299 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.431, allocations: 1.798 MB / 0.5316 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.431, allocations: 8 kB / 0.5316 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001722/0.4328, allocations: 1.438 MB / 0.533 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.4332, allocations: 224 kB / 0.5333 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4333, allocations: 7.984 kB / 0.5333 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.4338, allocations: 36.03 kB / 0.5333 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4339, allocations: 36.39 kB / 0.5333 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.4339, allocations: 19.98 kB / 0.5334 GB, free: 10.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005798/0.4345, allocations: 0.503 MB / 0.5338 GB, free: 9.773 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009786/0.4355, allocations: 287.9 kB / 0.5341 GB, free: 9.492 MB / 410.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.0002524/0.4358, allocations: 131.1 kB / 0.5342 GB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.4371, allocations: 0.988 MB / 0.5352 GB, free: 8.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4371, allocations: 0.6875 kB / 0.5352 GB, free: 8.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.4378, allocations: 0.5614 MB / 0.5358 GB, free: 7.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008691/0.4387, allocations: 173.8 kB / 0.5359 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.4432, allocations: 2.482 MB / 0.5383 GB, free: 5.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/0.4448, allocations: 1.809 MB / 0.5401 GB, free: 3.203 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.4448, allocations: 0 / 0.5401 GB, free: 3.203 MB / 410.7 MB Notification: Performance of Templates: time 0.02041/0.4653, allocations: 10.95 MB / 0.5508 GB, free: 8.371 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches