Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001049, allocations: 193.5 kB / 16.78 MB, free: 5.035 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 / 244.1 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000749/0.000749, allocations: 95.78 kB / 296.1 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3241/0.3241, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002618, allocations: 7.984 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.307, allocations: 62.96 MB / 0.5165 GB, free: 37.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.4153, allocations: 87.84 MB / 0.6022 GB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4156, allocations: 67.97 kB / 0.6023 GB, free: 1.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004106/0.4197, allocations: 1.757 MB / 0.604 GB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4197, allocations: 0 / 0.604 GB, free: 15.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.4197, allocations: 0 / 0.604 GB, free: 15.74 MB / 426.7 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.0004508/0.4202, allocations: 415.2 kB / 0.6044 GB, free: 15.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4202, allocations: 8.031 kB / 0.6044 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.4202, allocations: 12.75 kB / 0.6044 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.4204, allocations: 176.2 kB / 0.6046 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.4204, allocations: 8.375 kB / 0.6046 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.4204, allocations: 12.38 kB / 0.6046 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.4207, allocations: 137.9 kB / 0.6048 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4207, allocations: 192 / 0.6048 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.4208, allocations: 7.938 kB / 0.6048 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4208, allocations: 0 / 0.6048 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.4211, allocations: 135.8 kB / 0.6049 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/0.4218, allocations: 481.1 kB / 0.6054 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.4221, allocations: 98.53 kB / 0.6055 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.4223, allocations: 72.94 kB / 0.6055 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.4223, allocations: 4 kB / 0.6055 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4224, allocations: 34.5 kB / 0.6056 GB, free: 14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.195e-06/0.4224, allocations: 3.984 kB / 0.6056 GB, free: 13.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008143/0.4232, allocations: 307.4 kB / 0.6059 GB, free: 13.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.4232, allocations: 51.41 kB / 0.6059 GB, free: 13.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.4233, allocations: 125.8 kB / 0.606 GB, free: 13.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.4233, allocations: 29.7 kB / 0.6061 GB, free: 13.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.4234, allocations: 104.1 kB / 0.6062 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.4234, allocations: 23.66 kB / 0.6062 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.4234, allocations: 0 / 0.6062 GB, free: 13.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.4235, allocations: 322.8 kB / 0.6065 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4237, allocations: 43.97 kB / 0.6065 GB, free: 12.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.4239, allocations: 65.67 kB / 0.6066 GB, free: 12.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.4242, allocations: 113.6 kB / 0.6067 GB, free: 12.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4242, allocations: 3.938 kB / 0.6067 GB, free: 12.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003981/0.4246, allocations: 166.7 kB / 0.6069 GB, free: 12.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4246, allocations: 8 kB / 0.6069 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4246, allocations: 4.031 kB / 0.6069 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.4248, allocations: 28.78 kB / 0.6069 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4249, allocations: 27.86 kB / 0.6069 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009368/0.4259, allocations: 1.312 MB / 0.6082 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.426, allocations: 27.86 kB / 0.6082 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.426, allocations: 3.984 kB / 0.6082 GB, free: 11.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.78e-05/0.4261, allocations: 117.9 kB / 0.6083 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.4261, allocations: 4 kB / 0.6084 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.4261, allocations: 12.38 kB / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4262, allocations: 7.938 kB / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.4262, allocations: 0 / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.4262, allocations: 0 / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.4268, allocations: 452 kB / 0.6088 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4268, allocations: 32 / 0.6088 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.4269, allocations: 23.98 kB / 0.6088 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.54e-05/0.427, allocations: 24.98 kB / 0.6088 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.427, allocations: 3.984 kB / 0.6089 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000774/0.4278, allocations: 1.3 MB / 0.6101 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4278, allocations: 3.938 kB / 0.6101 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.4282, allocations: 261.1 kB / 0.6104 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.4283, allocations: 96.94 kB / 0.6105 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.4283, allocations: 3.938 kB / 0.6105 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.4284, allocations: 15.98 kB / 0.6105 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4285, allocations: 11.98 kB / 0.6105 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.4285, allocations: 0 / 0.6105 GB, free: 8.461 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.12e-05/0.4285, allocations: 98.11 kB / 0.6106 GB, free: 8.367 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4286, allocations: 0 / 0.6106 GB, free: 8.367 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000233/0.4288, allocations: 28 kB / 0.6106 GB, free: 8.34 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001009/0.4289, allocations: 91.19 kB / 0.6107 GB, free: 8.238 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004987/0.4294, allocations: 226.5 kB / 0.6109 GB, free: 8.004 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4294, allocations: 0 / 0.6109 GB, free: 8.004 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.4297, allocations: 178.7 kB / 0.6111 GB, free: 7.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.4299, allocations: 4 kB / 0.6111 GB, free: 7.812 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.4304, allocations: 284.7 kB / 0.6114 GB, free: 7.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.4306, allocations: 0.7004 MB / 0.6121 GB, free: 6.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.4306, allocations: 11.44 kB / 0.6121 GB, free: 6.762 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4306, allocations: 0 / 0.6121 GB, free: 6.762 MB / 426.7 MB Notification: Performance of Templates: time 0.002794/0.4334, allocations: 1.588 MB / 0.6136 GB, free: 5.18 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches