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.001176/0.001175, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.247/0.247, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 71.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4314, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003116/0.4346, allocations: 1.735 MB / 0.5327 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001871/0.4348, allocations: 82.06 kB / 0.5327 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.4349, allocations: 3.188 kB / 0.5327 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.378e-05/0.435, allocations: 9.281 kB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.4351, allocations: 21.41 kB / 0.5328 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.4352, allocations: 34.64 kB / 0.5328 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.4354, allocations: 115.3 kB / 0.5329 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.4356, allocations: 46.09 kB / 0.533 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.914e-05/0.4357, allocations: 43.69 kB / 0.533 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.4357, allocations: 48.19 kB / 0.533 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.4358, allocations: 11.62 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.4358, allocations: 11.34 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.4358, allocations: 26.28 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.4359, allocations: 61.25 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.4361, allocations: 110.1 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4361, allocations: 0 / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4361, allocations: 0 / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.4361, allocations: 1.469 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.0006511/0.4368, allocations: 413.7 kB / 0.5337 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4368, allocations: 9.625 kB / 0.5337 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.4368, allocations: 14.34 kB / 0.5337 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.437, allocations: 184.3 kB / 0.5339 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.437, allocations: 4.5 kB / 0.5339 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.437, allocations: 13.86 kB / 0.5339 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.4374, allocations: 122.6 kB / 0.534 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4374, allocations: 5.5 kB / 0.534 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4374, allocations: 3.938 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.4374, allocations: 2.75 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.4378, allocations: 117.5 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/0.4386, allocations: 473.6 kB / 0.5346 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.4388, allocations: 83.66 kB / 0.5346 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.4391, allocations: 61.94 kB / 0.5347 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.4391, allocations: 1.375 kB / 0.5347 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.4391, allocations: 35.88 kB / 0.5347 GB, free: 10.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.4391, allocations: 4 kB / 0.5347 GB, free: 10.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008251/0.44, allocations: 264.8 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.44, allocations: 55.41 kB / 0.535 GB, free: 10.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4401, allocations: 122.2 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.4402, allocations: 29.7 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.4402, allocations: 105 kB / 0.5353 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.4403, allocations: 26.98 kB / 0.5353 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.4403, allocations: 22.23 kB / 0.5353 GB, free: 9.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4404, allocations: 316.2 kB / 0.5356 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.4406, allocations: 40.55 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.4408, allocations: 56.97 kB / 0.5357 GB, free: 9.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.4411, allocations: 93.89 kB / 0.5358 GB, free: 9.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.4411, allocations: 5.031 kB / 0.5358 GB, free: 9.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003937/0.4415, allocations: 146.3 kB / 0.536 GB, free: 9.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4415, allocations: 12.67 kB / 0.536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4415, allocations: 8.062 kB / 0.536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.4417, allocations: 20.2 kB / 0.536 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.4418, allocations: 24.06 kB / 0.536 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.443, allocations: 1.405 MB / 0.5374 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.4432, allocations: 16.02 kB / 0.5374 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.4432, allocations: 2.281 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 0.0001158/0.4433, allocations: 114.4 kB / 0.5375 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.4434, allocations: 15.38 kB / 0.5375 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.4434, allocations: 17.45 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4434, allocations: 5.031 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4434, allocations: 1.062 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4434, allocations: 0 / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.4441, allocations: 427.2 kB / 0.538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4441, allocations: 1.188 kB / 0.538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.728e-05/0.4442, allocations: 14.73 kB / 0.538 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-05/0.4443, allocations: 23.09 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.4443, allocations: 1.156 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.4454, allocations: 1.41 MB / 0.5394 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4454, allocations: 1.312 kB / 0.5394 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.4458, allocations: 242.2 kB / 0.5396 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.4459, allocations: 91.31 kB / 0.5397 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.4459, allocations: 1.062 kB / 0.5397 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.446, allocations: 15.48 kB / 0.5397 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.4461, allocations: 7.672 kB / 0.5397 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.4461, allocations: 5.312 kB / 0.5397 GB, free: 5.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.64e-05/0.4462, allocations: 97.77 kB / 0.5398 GB, free: 5.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4462, allocations: 0 / 0.5398 GB, free: 5.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.4464, allocations: 22.44 kB / 0.5398 GB, free: 5.375 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.0001005/0.4465, allocations: 95.91 kB / 0.5399 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.447, allocations: 205.6 kB / 0.5401 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.447, allocations: 1.219 kB / 0.5401 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.4473, allocations: 162.7 kB / 0.5403 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.4476, allocations: 9.578 kB / 0.5403 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.4481, allocations: 220.9 kB / 0.5405 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.4484, allocations: 0.6974 MB / 0.5412 GB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.405e-05/0.4484, allocations: 6.062 kB / 0.5412 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.4484, allocations: 13.78 kB / 0.5412 GB, free: 4.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4485, allocations: 0 / 0.5412 GB, free: 4.07 MB / 398.1 MB Notification: Performance of Templates: time 0.003558/0.452, allocations: 1.114 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