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.001243/0.001243, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, 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.2323/0.2323, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 83.86 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4002, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003234/0.4034, allocations: 1.729 MB / 0.5327 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.4037, allocations: 95.14 kB / 0.5327 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.4037, allocations: 2.031 kB / 0.5327 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.182e-05/0.4038, allocations: 9.688 kB / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.4039, allocations: 21.81 kB / 0.5328 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.404, allocations: 31.55 kB / 0.5328 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.4042, allocations: 105.8 kB / 0.5329 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.4044, allocations: 45.38 kB / 0.5329 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.4045, allocations: 51.94 kB / 0.533 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.4046, allocations: 52.8 kB / 0.533 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.4046, allocations: 10.72 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.4046, allocations: 11.94 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.4047, allocations: 26.94 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.4047, allocations: 45.11 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.4049, allocations: 118.5 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4049, allocations: 0 / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4049, allocations: 0 / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.405, allocations: 0 / 0.5333 GB, free: 11.84 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.0006908/0.4056, allocations: 418.7 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4057, allocations: 9.625 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.4057, allocations: 14.28 kB / 0.5337 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.406, allocations: 180.3 kB / 0.5338 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4061, allocations: 7.125 kB / 0.5339 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.4061, allocations: 11.25 kB / 0.5339 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.4064, allocations: 122.6 kB / 0.534 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4065, allocations: 4.125 kB / 0.534 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.4065, allocations: 13.3 kB / 0.534 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4065, allocations: 2.75 kB / 0.534 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.4069, allocations: 109.5 kB / 0.5341 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/0.4077, allocations: 476.3 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.408, allocations: 81.03 kB / 0.5346 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.4082, allocations: 65.94 kB / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.4083, allocations: 1.375 kB / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.4083, allocations: 35.94 kB / 0.5347 GB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4083, allocations: 0 / 0.5347 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008667/0.4092, allocations: 272 kB / 0.535 GB, free: 10.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.4092, allocations: 52.78 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.4094, allocations: 125.1 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4094, allocations: 25.7 kB / 0.5352 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.4095, allocations: 109.7 kB / 0.5353 GB, free: 9.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.4095, allocations: 14.69 kB / 0.5353 GB, free: 9.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.4096, allocations: 25.33 kB / 0.5353 GB, free: 9.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4097, allocations: 317.6 kB / 0.5356 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.4099, allocations: 40.55 kB / 0.5357 GB, free: 9.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.4101, allocations: 56.75 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.4105, allocations: 93.58 kB / 0.5358 GB, free: 9.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.4105, allocations: 5.25 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004995/0.411, allocations: 157.7 kB / 0.536 GB, free: 9.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.411, allocations: 7.844 kB / 0.536 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.411, allocations: 1.094 kB / 0.536 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.4112, allocations: 23.03 kB / 0.536 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4114, allocations: 16.27 kB / 0.536 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.4128, allocations: 1.406 MB / 0.5374 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.4129, allocations: 19.86 kB / 0.5374 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.413, allocations: 6.438 kB / 0.5374 GB, free: 7.871 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 0.0001236/0.4131, allocations: 114.3 kB / 0.5375 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.4131, allocations: 10.03 kB / 0.5375 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.4132, allocations: 14.42 kB / 0.5375 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4132, allocations: 8.875 kB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4132, allocations: 1.094 kB / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.4132, allocations: 0 / 0.5376 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007375/0.4139, allocations: 422.8 kB / 0.538 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4139, allocations: 1.031 kB / 0.538 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.414, allocations: 19.39 kB / 0.538 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.83e-05/0.4141, allocations: 22.47 kB / 0.538 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4141, allocations: 5.812 kB / 0.538 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.4153, allocations: 1.406 MB / 0.5394 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4153, allocations: 5.094 kB / 0.5394 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.4158, allocations: 243 kB / 0.5396 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.4159, allocations: 90.12 kB / 0.5397 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.4159, allocations: 5.375 kB / 0.5397 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.416, allocations: 10.8 kB / 0.5397 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.4161, allocations: 11.8 kB / 0.5397 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.4161, allocations: 3 kB / 0.5397 GB, free: 5.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.543e-05/0.4162, allocations: 92.7 kB / 0.5398 GB, free: 5.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4162, allocations: 0 / 0.5398 GB, free: 5.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.4165, allocations: 27.03 kB / 0.5398 GB, free: 5.414 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.0001191/0.4166, allocations: 94.91 kB / 0.5399 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.4172, allocations: 206.3 kB / 0.5401 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4172, allocations: 0 / 0.5401 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.4175, allocations: 166.8 kB / 0.5403 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.4179, allocations: 10.55 kB / 0.5403 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.4184, allocations: 221.1 kB / 0.5405 GB, free: 4.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.4187, allocations: 0.7009 MB / 0.5412 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.585e-05/0.4187, allocations: 9.734 kB / 0.5412 GB, free: 4.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.4187, allocations: 9.406 kB / 0.5412 GB, free: 4.102 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4188, allocations: 1.156 kB / 0.5412 GB, free: 4.102 MB / 398.1 MB Notification: Performance of Templates: time 0.004074/0.4228, allocations: 1.145 MB / 0.5423 GB, free: 3.516 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