Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 112.9 kB / 17.08 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 198.9 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1992/0.1992, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 69.61 kB / 442.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.109, allocations: 57.79 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003202/0.1123, allocations: 1.877 MB / 0.4904 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1133, allocations: 0.6086 MB / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1135, allocations: 4 kB / 0.4909 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.1137, allocations: 35.7 kB / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.1139, allocations: 27.72 kB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.1141, allocations: 47.94 kB / 0.4911 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1142, allocations: 151.5 kB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.1144, allocations: 65.39 kB / 0.4913 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.1145, allocations: 67.7 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.791e-05/0.1146, allocations: 63.7 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.1147, allocations: 12 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.59e-05/0.1147, allocations: 16 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.1148, allocations: 31.91 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.1148, allocations: 59.67 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.115, allocations: 159.5 kB / 0.4917 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.115, allocations: 4 kB / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.115, allocations: 4 kB / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1151, allocations: 0 / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006307/0.1157, allocations: 443.2 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1157, allocations: 8.031 kB / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.1158, allocations: 20.69 kB / 0.4921 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.1161, allocations: 204.1 kB / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1161, allocations: 16.66 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1161, allocations: 12.38 kB / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.1164, allocations: 148 kB / 0.4925 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1165, allocations: 0 / 0.4925 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1165, allocations: 4 kB / 0.4925 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1165, allocations: 4 kB / 0.4925 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.1168, allocations: 104.2 kB / 0.4926 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.1178, allocations: 0.5986 MB / 0.4932 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.1181, allocations: 66.62 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.1182, allocations: 36.91 kB / 0.4933 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1182, allocations: 0 / 0.4933 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1182, allocations: 30.56 kB / 0.4933 GB, free: 6.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1182, allocations: 0 / 0.4933 GB, free: 6.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004274/0.1187, allocations: 121.7 kB / 0.4934 GB, free: 6.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.1187, allocations: 51.41 kB / 0.4935 GB, free: 6.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1188, allocations: 153.7 kB / 0.4936 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1188, allocations: 29.7 kB / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.1189, allocations: 131.5 kB / 0.4938 GB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1189, allocations: 23.7 kB / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.119, allocations: 21.72 kB / 0.4938 GB, free: 6.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.1191, allocations: 318.8 kB / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1192, allocations: 27.98 kB / 0.4941 GB, free: 5.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1193, allocations: 68.2 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.1195, allocations: 96.19 kB / 0.4943 GB, free: 5.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1196, allocations: 0 / 0.4943 GB, free: 5.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000285/0.1199, allocations: 133.4 kB / 0.4944 GB, free: 5.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1199, allocations: 8 kB / 0.4944 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1199, allocations: 3.938 kB / 0.4944 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1199, allocations: 4 kB / 0.4944 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1201, allocations: 35.98 kB / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1201, allocations: 0 / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.861e-05/0.1202, allocations: 19.83 kB / 0.4945 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1202, allocations: 8 kB / 0.4945 GB, free: 5.422 MB / 382.1 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.716e-05/0.1203, allocations: 117.8 kB / 0.4946 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.1203, allocations: 7.906 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.1204, allocations: 16.31 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1204, allocations: 3.938 kB / 0.4946 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1204, allocations: 4 kB / 0.4946 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1204, allocations: 7.969 kB / 0.4946 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.1206, allocations: 197.6 kB / 0.4948 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1206, allocations: 0 / 0.4948 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.1207, allocations: 19.98 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1207, allocations: 7.938 kB / 0.4949 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1207, allocations: 0 / 0.4949 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1207, allocations: 3.938 kB / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1207, allocations: 0 / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.121, allocations: 187.4 kB / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.1211, allocations: 81.02 kB / 0.4951 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1211, allocations: 4 kB / 0.4951 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.1212, allocations: 12.05 kB / 0.4951 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.1212, allocations: 4 kB / 0.4951 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1212, allocations: 7.938 kB / 0.4951 GB, free: 4.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.025e-05/0.1213, allocations: 119.9 kB / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1213, allocations: 4 kB / 0.4953 GB, free: 4.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1216, allocations: 27.84 kB / 0.4953 GB, free: 4.508 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.89e-05/0.1217, allocations: 91.25 kB / 0.4954 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.1219, allocations: 71.83 kB / 0.4954 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1219, allocations: 0 / 0.4954 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.122, allocations: 32.23 kB / 0.4955 GB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.1223, allocations: 11.98 kB / 0.4955 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.1228, allocations: 297.1 kB / 0.4958 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1231, allocations: 0.7119 MB / 0.4965 GB, free: 3.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.1231, allocations: 11.44 kB / 0.4965 GB, free: 3.219 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1232, allocations: 3.938 kB / 0.4965 GB, free: 3.215 MB / 382.1 MB Notification: Performance of Templates: time 0.002634/0.1258, allocations: 1.265 MB / 0.4977 GB, free: 1.949 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches