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.001129/0.001129, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.237/1.237, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000814/0.000814, allocations: 88.05 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1751/0.1751, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.662e-05, allocations: 224 / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.4596, allocations: 90.05 MB / 0.5896 GB, free: 15.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.4598, allocations: 79.95 kB / 0.5897 GB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02102/0.4808, allocations: 9.238 MB / 0.5987 GB, free: 5.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4809, allocations: 0 / 0.5987 GB, free: 5.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.4809, allocations: 8 kB / 0.5987 GB, free: 5.844 MB / 410.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.0009439/0.4818, allocations: 0.5413 MB / 0.5993 GB, free: 5.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4819, allocations: 12.03 kB / 0.5993 GB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.4822, allocations: 59.62 kB / 0.5993 GB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.4823, allocations: 186.7 kB / 0.5995 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.4824, allocations: 20.56 kB / 0.5995 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.4824, allocations: 27.95 kB / 0.5996 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.4828, allocations: 251.5 kB / 0.5998 GB, free: 4.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4828, allocations: 0 / 0.5998 GB, free: 4.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.4829, allocations: 12 kB / 0.5998 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4829, allocations: 11.98 kB / 0.5998 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.4832, allocations: 181.7 kB / 0.6 GB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.4846, allocations: 1.009 MB / 0.601 GB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.4849, allocations: 356.5 kB / 0.6013 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.4851, allocations: 101.7 kB / 0.6014 GB, free: 2.867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.4852, allocations: 101 kB / 0.6015 GB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.4853, allocations: 34.56 kB / 0.6016 GB, free: 2.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.4853, allocations: 0 / 0.6016 GB, free: 2.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004519/0.4857, allocations: 196.7 kB / 0.6017 GB, free: 2.504 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.4858, allocations: 81.11 kB / 0.6018 GB, free: 2.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.4859, allocations: 130.6 kB / 0.6019 GB, free: 2.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4859, allocations: 25.7 kB / 0.602 GB, free: 2.242 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.486, allocations: 148.2 kB / 0.6021 GB, free: 2.094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.4861, allocations: 70.95 kB / 0.6022 GB, free: 2.023 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.4861, allocations: 0 / 0.6022 GB, free: 2.023 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4862, allocations: 334.8 kB / 0.6025 GB, free: 1.688 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.4863, allocations: 44.05 kB / 0.6025 GB, free: 1.645 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.4864, allocations: 92.22 kB / 0.6026 GB, free: 1.539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.899e-05/0.4865, allocations: 57.08 kB / 0.6027 GB, free: 1.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4865, allocations: 0 / 0.6027 GB, free: 1.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003797/0.4869, allocations: 228.1 kB / 0.6029 GB, free: 1.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.487, allocations: 7.953 kB / 0.6029 GB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.487, allocations: 0 / 0.6029 GB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.4872, allocations: 49.77 kB / 0.6029 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.4874, allocations: 51.97 kB / 0.603 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.4893, allocations: 2.647 MB / 0.6056 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.4894, allocations: 43.88 kB / 0.6056 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.4895, allocations: 4 kB / 0.6056 GB, free: 14.17 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 () * 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 9.212e-05/0.4896, allocations: 113 kB / 0.6057 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.4896, allocations: 15.86 kB / 0.6058 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.49, allocations: 217.5 kB / 0.606 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.49, allocations: 7.984 kB / 0.606 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.4901, allocations: 0 / 0.606 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4901, allocations: 8.094 kB / 0.606 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000904/0.491, allocations: 0.6196 MB / 0.6066 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.491, allocations: 0 / 0.6066 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.4912, allocations: 43.97 kB / 0.6066 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/0.4913, allocations: 41.7 kB / 0.6067 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.4913, allocations: 8.062 kB / 0.6067 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.4931, allocations: 2.643 MB / 0.6093 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4932, allocations: 0 / 0.6093 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.4937, allocations: 0.4894 MB / 0.6097 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.4938, allocations: 92.97 kB / 0.6098 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.4938, allocations: 8 kB / 0.6098 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.494, allocations: 20.05 kB / 0.6098 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4941, allocations: 27.86 kB / 0.6099 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4942, allocations: 8 kB / 0.6099 GB, free: 9.402 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.36e-05/0.4942, allocations: 104.7 kB / 0.61 GB, free: 9.301 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4942, allocations: 0 / 0.61 GB, free: 9.301 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004249/0.4947, allocations: 79.73 kB / 0.6101 GB, free: 9.223 MB / 426.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 () * 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.0002344/0.4949, allocations: 137.9 kB / 0.6102 GB, free: 9.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005072/0.4954, allocations: 367.2 kB / 0.6105 GB, free: 8.695 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4954, allocations: 0 / 0.6105 GB, free: 8.695 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.4957, allocations: 305.2 kB / 0.6108 GB, free: 8.371 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.496, allocations: 11.94 kB / 0.6108 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.4966, allocations: 338.1 kB / 0.6112 GB, free: 8.004 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.497, allocations: 0.7476 MB / 0.6119 GB, free: 7.227 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.862e-05/0.4971, allocations: 21.19 kB / 0.6119 GB, free: 7.207 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.4971, allocations: 15.44 kB / 0.6119 GB, free: 7.191 MB / 426.7 MB Notification: Performance of SimCode: time 2.906e-06/0.4971, allocations: 0 / 0.6119 GB, free: 7.191 MB / 426.7 MB Notification: Performance of Templates: time 0.004946/0.5021, allocations: 2.189 MB / 0.6141 GB, free: 5.008 MB / 426.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/jenkins/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