Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.0012, allocations: 200.6 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 226.5 MB / 243.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007223/0.0007223, allocations: 91.69 kB / 295.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3076/0.3076, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004289, allocations: 4 kB / 465.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4055, allocations: 62.96 MB / 0.5159 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.002213/0.4078, allocations: 2.072 MB / 0.5179 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.4091, allocations: 0.9785 MB / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.4093, allocations: 7.688 kB / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.4097, allocations: 86.48 kB / 0.5189 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.4101, allocations: 81.05 kB / 0.519 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007599/0.4109, allocations: 400.1 kB / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.4112, allocations: 208.3 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008077/0.412, allocations: 497.9 kB / 0.5201 GB, free: 34.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.4122, allocations: 92.08 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.4124, allocations: 94.88 kB / 0.5203 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.4124, allocations: 8.844 kB / 0.5203 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.4127, allocations: 138.4 kB / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.4128, allocations: 29.14 kB / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.4129, allocations: 125.1 kB / 0.5205 GB, free: 33.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.4133, allocations: 301.5 kB / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4134, allocations: 0 / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4134, allocations: 0 / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.4134, allocations: 4 kB / 0.5208 GB, free: 33.7 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001235/0.4146, allocations: 0.5826 MB / 0.5214 GB, free: 33.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4147, allocations: 12.69 kB / 0.5214 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.415, allocations: 49.12 kB / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.4151, allocations: 191.6 kB / 0.5216 GB, free: 33.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.4152, allocations: 17.56 kB / 0.5217 GB, free: 33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.4152, allocations: 23.03 kB / 0.5217 GB, free: 33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.4158, allocations: 301.8 kB / 0.522 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4158, allocations: 7.938 kB / 0.522 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.4158, allocations: 6.844 kB / 0.522 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4159, allocations: 9.656 kB / 0.522 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.4164, allocations: 251.9 kB / 0.5222 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.4176, allocations: 1.009 MB / 0.5232 GB, free: 32.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.4181, allocations: 392.2 kB / 0.5236 GB, free: 31.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.4183, allocations: 145.3 kB / 0.5237 GB, free: 31.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.4185, allocations: 171.4 kB / 0.5239 GB, free: 31.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.4185, allocations: 30.88 kB / 0.5239 GB, free: 31.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.4185, allocations: 4 kB / 0.5239 GB, free: 31.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001021/0.4196, allocations: 0.5312 MB / 0.5245 GB, free: 31.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.4196, allocations: 84.08 kB / 0.5245 GB, free: 31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.4197, allocations: 134.2 kB / 0.5247 GB, free: 30.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.4197, allocations: 32.58 kB / 0.5247 GB, free: 30.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.4198, allocations: 146.8 kB / 0.5248 GB, free: 30.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.4198, allocations: 62.59 kB / 0.5249 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.4199, allocations: 0 / 0.5249 GB, free: 30.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.92e-05/0.4199, allocations: 328.8 kB / 0.5252 GB, free: 30.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.4201, allocations: 78.16 kB / 0.5253 GB, free: 30.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.4203, allocations: 133.8 kB / 0.5254 GB, free: 30.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.4207, allocations: 232.6 kB / 0.5256 GB, free: 30.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4207, allocations: 3.938 kB / 0.5256 GB, free: 30.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005513/0.4213, allocations: 304.4 kB / 0.5259 GB, free: 29.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4213, allocations: 9.375 kB / 0.5259 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4213, allocations: 2.656 kB / 0.5259 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.4215, allocations: 52.02 kB / 0.526 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.4217, allocations: 48.03 kB / 0.526 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.4229, allocations: 2.632 MB / 0.5286 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.4231, allocations: 35.3 kB / 0.5286 GB, free: 27.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.4231, allocations: 5.641 kB / 0.5286 GB, free: 27.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.4232, allocations: 143.7 kB / 0.5288 GB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.4233, allocations: 24.66 kB / 0.5288 GB, free: 27.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005478/0.4238, allocations: 280.7 kB / 0.5291 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4238, allocations: 3.188 kB / 0.5291 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4239, allocations: 2.844 kB / 0.5291 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4239, allocations: 3.938 kB / 0.5291 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.4248, allocations: 0.6694 MB / 0.5297 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4248, allocations: 0 / 0.5297 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.425, allocations: 42.5 kB / 0.5298 GB, free: 26.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.4251, allocations: 44.97 kB / 0.5298 GB, free: 26.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.4251, allocations: 6.969 kB / 0.5298 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.4263, allocations: 2.657 MB / 0.5324 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4263, allocations: 0 / 0.5324 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.427, allocations: 0.5419 MB / 0.5329 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.4271, allocations: 97.86 kB / 0.533 GB, free: 23.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.4271, allocations: 6.938 kB / 0.533 GB, free: 23.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.4273, allocations: 26.38 kB / 0.5331 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.4274, allocations: 15.84 kB / 0.5331 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.4274, allocations: 13.27 kB / 0.5331 GB, free: 23.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.779e-05/0.4274, allocations: 100.5 kB / 0.5332 GB, free: 23.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4274, allocations: 0 / 0.5332 GB, free: 23.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003875/0.4278, allocations: 70.28 kB / 0.5333 GB, free: 23.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002102/0.428, allocations: 127.3 kB / 0.5334 GB, free: 23.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.4287, allocations: 436.9 kB / 0.5338 GB, free: 22.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4287, allocations: 4 kB / 0.5338 GB, free: 22.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.429, allocations: 338 kB / 0.5341 GB, free: 22.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.4294, allocations: 14.88 kB / 0.5341 GB, free: 22.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.4302, allocations: 0.5945 MB / 0.5347 GB, free: 22.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.4303, allocations: 0.7393 MB / 0.5354 GB, free: 21.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.4304, allocations: 15.44 kB / 0.5355 GB, free: 21.41 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4304, allocations: 3.938 kB / 0.5355 GB, free: 21.41 MB / 378.7 MB Notification: Performance of Templates: time 0.005548/0.436, allocations: 4.261 MB / 0.5396 GB, free: 21.02 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches