Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001439, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4026, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003686/0.4064, allocations: 2.493 MB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.408, allocations: 1.087 MB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.4081, allocations: 5.781 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.4094, allocations: 0.4988 MB / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.4098, allocations: 106.6 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008322/0.4106, allocations: 487.1 kB / 0.5355 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.4109, allocations: 224.8 kB / 0.5357 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004396/0.4114, allocations: 256.2 kB / 0.536 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.4116, allocations: 101.2 kB / 0.5361 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.4118, allocations: 120.9 kB / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.4118, allocations: 21.31 kB / 0.5362 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.4122, allocations: 157.8 kB / 0.5364 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.4123, allocations: 42.77 kB / 0.5364 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.4125, allocations: 121.8 kB / 0.5365 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.4132, allocations: 397.4 kB / 0.5369 GB, free: 9.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.4132, allocations: 0 / 0.5369 GB, free: 9.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4133, allocations: 1.219 kB / 0.5369 GB, free: 9.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.4133, allocations: 4 kB / 0.5369 GB, free: 9.094 MB / 398.1 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.001666/0.415, allocations: 0.6198 MB / 0.5375 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/0.415, allocations: 9.219 kB / 0.5375 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.4154, allocations: 54.09 kB / 0.5376 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.4157, allocations: 198.5 kB / 0.5378 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.4157, allocations: 18.66 kB / 0.5378 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.4158, allocations: 24.97 kB / 0.5378 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008997/0.4167, allocations: 295.7 kB / 0.5381 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.4168, allocations: 5.109 kB / 0.5381 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.4168, allocations: 10.31 kB / 0.5381 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.4168, allocations: 6.219 kB / 0.5381 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.4175, allocations: 235 kB / 0.5383 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.4194, allocations: 0.9856 MB / 0.5393 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.42, allocations: 382.3 kB / 0.5397 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.4204, allocations: 137.8 kB / 0.5398 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.4206, allocations: 169.6 kB / 0.5399 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.4206, allocations: 40.22 kB / 0.54 GB, free: 6.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.4206, allocations: 0 / 0.54 GB, free: 6.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001331/0.422, allocations: 0.5019 MB / 0.5405 GB, free: 6.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.422, allocations: 79.55 kB / 0.5406 GB, free: 5.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.4222, allocations: 136.7 kB / 0.5407 GB, free: 5.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.4223, allocations: 31.33 kB / 0.5407 GB, free: 5.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.4224, allocations: 145.6 kB / 0.5409 GB, free: 5.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/0.4225, allocations: 67.75 kB / 0.5409 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.4226, allocations: 42.2 kB / 0.541 GB, free: 5.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.4228, allocations: 321 kB / 0.5413 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.4231, allocations: 70.3 kB / 0.5413 GB, free: 5.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.4235, allocations: 128.4 kB / 0.5415 GB, free: 5.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.4241, allocations: 200.8 kB / 0.5416 GB, free: 5.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4241, allocations: 0 / 0.5416 GB, free: 5.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007679/0.4249, allocations: 283.7 kB / 0.5419 GB, free: 4.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.4249, allocations: 5.406 kB / 0.5419 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4249, allocations: 2.25 kB / 0.5419 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.4252, allocations: 56.02 kB / 0.542 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.4254, allocations: 47.73 kB / 0.542 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.4275, allocations: 2.844 MB / 0.5448 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.4277, allocations: 30.73 kB / 0.5448 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.4277, allocations: 10.88 kB / 0.5448 GB, free: 1.812 MB / 398.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.4279, allocations: 139.9 kB / 0.545 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.428, allocations: 17.89 kB / 0.545 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007211/0.4287, allocations: 261.3 kB / 0.5452 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.4287, allocations: 2.219 kB / 0.5452 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4288, allocations: 1.125 kB / 0.5452 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4288, allocations: 1.562 kB / 0.5452 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.4301, allocations: 0.6471 MB / 0.5459 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4301, allocations: 5.031 kB / 0.5459 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.4303, allocations: 34.5 kB / 0.5459 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.4304, allocations: 46.27 kB / 0.546 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4304, allocations: 15.11 kB / 0.546 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.4326, allocations: 2.838 MB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4326, allocations: 1.188 kB / 0.5487 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/0.4336, allocations: 0.5213 MB / 0.5493 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.4337, allocations: 97.83 kB / 0.5493 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.4337, allocations: 1.344 kB / 0.5493 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.4339, allocations: 16.64 kB / 0.5494 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.4339, allocations: 24.94 kB / 0.5494 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.4339, allocations: 4.281 kB / 0.5494 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.578e-05/0.434, allocations: 109.8 kB / 0.5495 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.434, allocations: 0 / 0.5495 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000446/0.4345, allocations: 72.44 kB / 0.5496 GB, free: 13.32 MB / 414.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001918/0.4347, allocations: 122.7 kB / 0.5497 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007601/0.4355, allocations: 427.4 kB / 0.5501 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4355, allocations: 0 / 0.5501 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004322/0.4359, allocations: 331.5 kB / 0.5504 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.4363, allocations: 17.94 kB / 0.5504 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008144/0.4372, allocations: 466.2 kB / 0.5509 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.4375, allocations: 0.7399 MB / 0.5516 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.862e-05/0.4375, allocations: 13.44 kB / 0.5516 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.4376, allocations: 15.44 kB / 0.5516 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4376, allocations: 0 / 0.5516 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Templates: time 0.005381/0.443, allocations: 2.442 MB / 0.554 GB, free: 8.879 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches