Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009547/0.0009546, allocations: 183 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.3 MB / 242.1 MB, free: 9.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007994/0.0007995, allocations: 92.8 kB / 293.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3745/0.3745, allocations: 44.14 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003825, allocations: 8 kB / 461.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2974, allocations: 61.88 MB / 0.5107 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.4088, allocations: 90.14 MB / 0.5988 GB, free: 4.977 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.409, allocations: 87.94 kB / 0.5988 GB, free: 4.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02162/0.4306, allocations: 9.243 MB / 0.6079 GB, free: 11.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4307, allocations: 0 / 0.6079 GB, free: 11.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4307, allocations: 4 kB / 0.6079 GB, free: 11.52 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001138/0.4318, allocations: 0.5616 MB / 0.6084 GB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4319, allocations: 12.03 kB / 0.6084 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.4322, allocations: 48.62 kB / 0.6085 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.4324, allocations: 200 kB / 0.6087 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.4324, allocations: 20.94 kB / 0.6087 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.4325, allocations: 24.38 kB / 0.6087 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.4331, allocations: 299.8 kB / 0.609 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.4331, allocations: 0 / 0.609 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.4331, allocations: 11.98 kB / 0.609 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4331, allocations: 8 kB / 0.609 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/0.4337, allocations: 249.5 kB / 0.6092 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.4355, allocations: 1.011 MB / 0.6102 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.4361, allocations: 395.3 kB / 0.6106 GB, free: 8.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.4364, allocations: 141.7 kB / 0.6107 GB, free: 8.336 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.4366, allocations: 89.09 kB / 0.6108 GB, free: 8.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.4366, allocations: 42.5 kB / 0.6109 GB, free: 8.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.145e-06/0.4366, allocations: 0 / 0.6109 GB, free: 8.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001256/0.4379, allocations: 0.5381 MB / 0.6114 GB, free: 7.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.438, allocations: 81.11 kB / 0.6115 GB, free: 7.496 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.4381, allocations: 135.2 kB / 0.6116 GB, free: 7.355 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.4381, allocations: 33.69 kB / 0.6116 GB, free: 7.316 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4382, allocations: 148.1 kB / 0.6118 GB, free: 7.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.4383, allocations: 67.03 kB / 0.6118 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.4383, allocations: 11.94 kB / 0.6119 GB, free: 7.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4384, allocations: 322.8 kB / 0.6122 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.4387, allocations: 87.94 kB / 0.6122 GB, free: 6.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.4389, allocations: 120.8 kB / 0.6124 GB, free: 6.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.4393, allocations: 214 kB / 0.6126 GB, free: 6.324 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4394, allocations: 0 / 0.6126 GB, free: 6.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006177/0.44, allocations: 302.8 kB / 0.6129 GB, free: 6.016 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.44, allocations: 5.531 kB / 0.6129 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.44, allocations: 8 kB / 0.6129 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.4402, allocations: 53.64 kB / 0.6129 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.4404, allocations: 39.97 kB / 0.613 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.4425, allocations: 2.662 MB / 0.6156 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.4427, allocations: 31.86 kB / 0.6156 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.4428, allocations: 7.984 kB / 0.6156 GB, free: 2.938 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.4429, allocations: 137.9 kB / 0.6157 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.443, allocations: 19.75 kB / 0.6157 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000641/0.4436, allocations: 288.2 kB / 0.616 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4436, allocations: 0 / 0.616 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4436, allocations: 4 kB / 0.616 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4437, allocations: 7.922 kB / 0.616 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.4448, allocations: 0.685 MB / 0.6167 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4448, allocations: 4 kB / 0.6167 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.445, allocations: 31.98 kB / 0.6167 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.4451, allocations: 53.75 kB / 0.6168 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.4452, allocations: 4 kB / 0.6168 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.4468, allocations: 2.646 MB / 0.6194 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4469, allocations: 0 / 0.6194 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/0.4477, allocations: 0.5468 MB / 0.6199 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.4478, allocations: 96.89 kB / 0.62 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.4478, allocations: 4 kB / 0.62 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.448, allocations: 31.91 kB / 0.62 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.4481, allocations: 19.92 kB / 0.6201 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4481, allocations: 8.062 kB / 0.6201 GB, free: 13.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.847e-05/0.4482, allocations: 109.8 kB / 0.6202 GB, free: 13.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.423e-06/0.4482, allocations: 0 / 0.6202 GB, free: 13.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.4486, allocations: 79.72 kB / 0.6202 GB, free: 13.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002009/0.4488, allocations: 127.8 kB / 0.6204 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007202/0.4496, allocations: 447.4 kB / 0.6208 GB, free: 13.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4496, allocations: 0 / 0.6208 GB, free: 13.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.45, allocations: 337.5 kB / 0.6211 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.4504, allocations: 19.88 kB / 0.6211 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009591/0.4513, allocations: 0.5631 MB / 0.6217 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4517, allocations: 0.736 MB / 0.6224 GB, free: 11.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.806e-05/0.4518, allocations: 21.41 kB / 0.6224 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.4519, allocations: 15.44 kB / 0.6224 GB, free: 11.4 MB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4519, allocations: 0 / 0.6224 GB, free: 11.4 MB / 442.7 MB Notification: Performance of Templates: time 0.005725/0.4576, allocations: 2.123 MB / 0.6245 GB, free: 9.281 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches