Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [: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.001465/0.001465, allocations: 199.6 kB / 8.536 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 91.52 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.662e-06/6.772e-06, allocations: 0 / 343.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 51.49 MB / 394.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.304/0.4202, allocations: 93.32 MB / 487.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.4205, allocations: 83.58 kB / 488 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.07557/0.4961, allocations: 30.86 MB / 0.5067 GB, free: 5.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.048e-05/0.4962, allocations: 16 kB / 0.5067 GB, free: 5.949 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003223/0.4994, allocations: 1.237 MB / 0.508 GB, free: 4.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4995, allocations: 12.03 kB / 0.508 GB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/0.5023, allocations: 442.3 kB / 0.5084 GB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.5031, allocations: 0.4884 MB / 0.5089 GB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.5031, allocations: 36 kB / 0.5089 GB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.5033, allocations: 71.91 kB / 0.509 GB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/0.505, allocations: 0.8479 MB / 0.5098 GB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.5065, allocations: 0.7478 MB / 0.5105 GB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.5065, allocations: 0 / 0.5105 GB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.482e-05/0.5066, allocations: 9.688 kB / 0.5105 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.5066, allocations: 24 kB / 0.5106 GB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006036/0.5127, allocations: 3.628 MB / 0.5141 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.5133, allocations: 405.2 kB / 0.5145 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.5139, allocations: 375.2 kB / 0.5148 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.5141, allocations: 183 kB / 0.515 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000646/0.5148, allocations: 436.3 kB / 0.5154 GB, free: 12.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 2.746e-06/0.5148, allocations: 4 kB / 0.5154 GB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.006666/0.5215, allocations: 3.03 MB / 0.5184 GB, free: 9.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.5216, allocations: 230.5 kB / 0.5186 GB, free: 9.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.522, allocations: 309.8 kB / 0.5189 GB, free: 8.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.5221, allocations: 25.7 kB / 0.5189 GB, free: 8.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.5224, allocations: 391.6 kB / 0.5193 GB, free: 8.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.5228, allocations: 398 kB / 0.5197 GB, free: 8.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.5228, allocations: 0 / 0.5197 GB, free: 8.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.523, allocations: 374.8 kB / 0.52 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.5235, allocations: 298.6 kB / 0.5203 GB, free: 7.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.5242, allocations: 0.4888 MB / 0.5208 GB, free: 6.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000856/0.5251, allocations: 408.2 kB / 0.5212 GB, free: 6.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5251, allocations: 1.5 kB / 0.5212 GB, free: 6.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002389/0.5275, allocations: 1.223 MB / 0.5224 GB, free: 5.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5275, allocations: 4 kB / 0.5224 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.5276, allocations: 8 kB / 0.5224 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009028/0.5285, allocations: 331.3 kB / 0.5227 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009053/0.5294, allocations: 199.7 kB / 0.5229 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007457/0.5369, allocations: 7.192 MB / 0.5299 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.5378, allocations: 27.92 kB / 0.53 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.998e-05/0.5379, allocations: 51.98 kB / 0.53 GB, free: 13.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 107 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(2,100.0%) 18,(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002335/0.5381, allocations: 128.8 kB / 0.5301 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.5383, allocations: 71.19 kB / 0.5302 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.5407, allocations: 1.127 MB / 0.5313 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.5407, allocations: 13.88 kB / 0.5313 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.5408, allocations: 8 kB / 0.5313 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.5408, allocations: 11.88 kB / 0.5313 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.5447, allocations: 2.38 MB / 0.5337 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5448, allocations: 96 / 0.5337 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007467/0.5455, allocations: 151.8 kB / 0.5338 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008408/0.5464, allocations: 329.7 kB / 0.5341 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/0.5465, allocations: 15.98 kB / 0.5341 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/0.5533, allocations: 6.929 MB / 0.5409 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.5534, allocations: 7.938 kB / 0.5409 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003077/0.5565, allocations: 1.671 MB / 0.5425 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.5569, allocations: 216.2 kB / 0.5427 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.5571, allocations: 8 kB / 0.5428 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.5577, allocations: 19.98 kB / 0.5428 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.5579, allocations: 60.91 kB / 0.5428 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.5579, allocations: 35.98 kB / 0.5429 GB, free: 15.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003249/0.5583, allocations: 232.6 kB / 0.5431 GB, free: 14.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00141/0.5597, allocations: 275.9 kB / 0.5433 GB, free: 14.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,currentSensorQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(2,100.0%) 18,(1,100.0%) 4,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004323/0.5601, allocations: 186.6 kB / 0.5435 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002534/0.5627, allocations: 1.368 MB / 0.5449 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5627, allocations: 0 / 0.5449 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.5642, allocations: 0.9524 MB / 0.5458 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.5647, allocations: 33.17 kB / 0.5458 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.5688, allocations: 1.462 MB / 0.5473 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.5701, allocations: 1.1 MB / 0.5483 GB, free: 9.465 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5701, allocations: 4 kB / 0.5483 GB, free: 9.461 MB / 426.7 MB Notification: Performance of Templates: time 0.02418/0.5943, allocations: 12.65 MB / 0.5607 GB, free: 12.92 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches