Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001721/0.001721, allocations: 122.2 kB / 17.78 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002272/0.002272, allocations: 201.2 kB / 18.72 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 75.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.436, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003707/0.4397, allocations: 1.734 MB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000202/0.44, allocations: 87.64 kB / 0.5327 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.44, allocations: 1.438 kB / 0.5327 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.04e-05/0.4401, allocations: 13.48 kB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/0.4402, allocations: 26.3 kB / 0.5328 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.4403, allocations: 26.88 kB / 0.5328 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.4405, allocations: 106.7 kB / 0.5329 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.4407, allocations: 54.23 kB / 0.533 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.4408, allocations: 43.52 kB / 0.533 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.4409, allocations: 53.2 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.441, allocations: 14.8 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.359e-05/0.441, allocations: 11.25 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.4411, allocations: 22.45 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.4411, allocations: 46.17 kB / 0.5331 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.4413, allocations: 121.6 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4413, allocations: 0 / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4413, allocations: 1.094 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.4414, allocations: 4 kB / 0.5333 GB, free: 11.8 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000829/0.4422, allocations: 420.3 kB / 0.5337 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.4422, allocations: 9.75 kB / 0.5337 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.4423, allocations: 9.641 kB / 0.5337 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.4426, allocations: 181 kB / 0.5339 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.4426, allocations: 7.969 kB / 0.5339 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.4426, allocations: 10.41 kB / 0.5339 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.4431, allocations: 120.9 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4431, allocations: 4.125 kB / 0.534 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.4432, allocations: 7.938 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.4432, allocations: 3.625 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.4435, allocations: 112.6 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008835/0.4444, allocations: 469.8 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.4447, allocations: 85.02 kB / 0.5346 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.4449, allocations: 69.92 kB / 0.5347 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.445, allocations: 0 / 0.5347 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.445, allocations: 39.88 kB / 0.5347 GB, free: 10.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.445, allocations: 0 / 0.5347 GB, free: 10.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000853/0.4459, allocations: 268.7 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.4459, allocations: 52.78 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.4461, allocations: 128.8 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4461, allocations: 25.7 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4462, allocations: 113.7 kB / 0.5353 GB, free: 9.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.4462, allocations: 26.48 kB / 0.5353 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.4463, allocations: 17.84 kB / 0.5353 GB, free: 9.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.4465, allocations: 317.6 kB / 0.5357 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.4467, allocations: 35.22 kB / 0.5357 GB, free: 9.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.4469, allocations: 61.91 kB / 0.5357 GB, free: 9.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.4473, allocations: 89.97 kB / 0.5358 GB, free: 9.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4473, allocations: 3.938 kB / 0.5358 GB, free: 9.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004107/0.4477, allocations: 151 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4477, allocations: 5.344 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4477, allocations: 1.031 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.4479, allocations: 23.81 kB / 0.536 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.4481, allocations: 24.25 kB / 0.536 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.4493, allocations: 1.4 MB / 0.5374 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.4494, allocations: 19.98 kB / 0.5374 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-06/0.4494, allocations: 2.312 kB / 0.5374 GB, free: 7.832 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.092e-05/0.4495, allocations: 115 kB / 0.5375 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.4495, allocations: 14.44 kB / 0.5375 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.4495, allocations: 10.44 kB / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4495, allocations: 5 kB / 0.5376 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4496, allocations: 0 / 0.5376 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4496, allocations: 5.078 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007075/0.4503, allocations: 431 kB / 0.538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4503, allocations: 0 / 0.538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.4504, allocations: 14.39 kB / 0.538 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.208e-05/0.4505, allocations: 27.62 kB / 0.538 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4505, allocations: 1.125 kB / 0.538 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.4519, allocations: 1.407 MB / 0.5394 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4519, allocations: 0 / 0.5394 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.4523, allocations: 242.3 kB / 0.5396 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.4524, allocations: 87.34 kB / 0.5397 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.4524, allocations: 1.125 kB / 0.5397 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.4526, allocations: 15.25 kB / 0.5397 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.4526, allocations: 8.109 kB / 0.5397 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.4526, allocations: 5.984 kB / 0.5397 GB, free: 5.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.694e-05/0.4527, allocations: 93.52 kB / 0.5398 GB, free: 5.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4527, allocations: 0 / 0.5398 GB, free: 5.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.453, allocations: 34.73 kB / 0.5399 GB, free: 5.371 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001181/0.4532, allocations: 99.23 kB / 0.5399 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005047/0.4537, allocations: 201.7 kB / 0.5401 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4537, allocations: 5.344 kB / 0.5401 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.4539, allocations: 165.5 kB / 0.5403 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.4543, allocations: 11.77 kB / 0.5403 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.4547, allocations: 208.2 kB / 0.5405 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.4553, allocations: 0.7054 MB / 0.5412 GB, free: 4.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.254e-05/0.4553, allocations: 6.188 kB / 0.5412 GB, free: 4.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.4554, allocations: 9.938 kB / 0.5412 GB, free: 4.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4554, allocations: 0 / 0.5412 GB, free: 4.062 MB / 398.1 MB Notification: Performance of Templates: time 0.004966/0.4604, allocations: 1.109 MB / 0.5423 GB, free: 3.508 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches