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.001632/0.001633, allocations: 111.4 kB / 17.09 MB, free: 5.961 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.001957/0.001957, allocations: 198 kB / 18.03 MB, free: 5.035 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.562/1.562, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2114/0.2114, allocations: 43.52 MB / 314.8 MB, free: 440 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.001454/0.001454, allocations: 73.44 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.108, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.003251/0.1113, allocations: 1.872 MB / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1126, allocations: 0.6124 MB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.1128, allocations: 0 / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.1131, allocations: 35.7 kB / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.1133, allocations: 35.7 kB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1135, allocations: 35.95 kB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1137, allocations: 159.4 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1139, allocations: 65.44 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.114, allocations: 55.78 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.1141, allocations: 63.7 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.1142, allocations: 16 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.1142, allocations: 12 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.1142, allocations: 27.92 kB / 0.4914 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.1143, allocations: 67.66 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.1145, allocations: 167.2 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1146, allocations: 0 / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1146, allocations: 4 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1146, allocations: 0 / 0.4917 GB, free: 8.547 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.0006388/0.1152, allocations: 442.6 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1153, allocations: 8.031 kB / 0.4921 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.1153, allocations: 16.84 kB / 0.4921 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.1156, allocations: 204.1 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1156, allocations: 12.66 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1156, allocations: 16.36 kB / 0.4923 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.116, allocations: 144.1 kB / 0.4925 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.116, allocations: 0 / 0.4925 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.116, allocations: 4 kB / 0.4925 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.116, allocations: 7.984 kB / 0.4925 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.1163, allocations: 112.1 kB / 0.4926 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009868/0.1173, allocations: 0.6027 MB / 0.4932 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1176, allocations: 74.55 kB / 0.4933 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.1177, allocations: 24.97 kB / 0.4933 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1177, allocations: 8 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1177, allocations: 34.5 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.1177, allocations: 0 / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003863/0.1181, allocations: 105.6 kB / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1182, allocations: 55.39 kB / 0.4935 GB, free: 6.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1183, allocations: 161.7 kB / 0.4936 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1183, allocations: 25.7 kB / 0.4936 GB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.1184, allocations: 135.8 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.1184, allocations: 11.91 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.1185, allocations: 29.66 kB / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1186, allocations: 318.8 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1187, allocations: 31.97 kB / 0.4942 GB, free: 5.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1188, allocations: 68.2 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.1191, allocations: 92.19 kB / 0.4943 GB, free: 5.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1191, allocations: 4 kB / 0.4943 GB, free: 5.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002759/0.1193, allocations: 121.5 kB / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1194, allocations: 4 kB / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1194, allocations: 4 kB / 0.4944 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1194, allocations: 3.938 kB / 0.4944 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1195, allocations: 28.09 kB / 0.4945 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.1196, allocations: 11.94 kB / 0.4945 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.574e-05/0.1197, allocations: 11.89 kB / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1197, allocations: 8 kB / 0.4945 GB, free: 5.387 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 9.028e-05/0.1198, allocations: 129.7 kB / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.1198, allocations: 7.953 kB / 0.4946 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.1199, allocations: 12.25 kB / 0.4946 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1199, allocations: 0 / 0.4946 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1199, allocations: 3.938 kB / 0.4946 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.1199, allocations: 93.06 kB / 0.4947 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.12, allocations: 3.984 kB / 0.4947 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.1201, allocations: 4 kB / 0.4947 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.1201, allocations: 7.984 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002982/0.1204, allocations: 169.2 kB / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003007/0.1207, allocations: 266.6 kB / 0.4952 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001003/0.1208, allocations: 31.95 kB / 0.4952 GB, free: 4.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.531e-05/0.1209, allocations: 116 kB / 0.4953 GB, free: 4.504 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.1209, allocations: 0 / 0.4953 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004191/0.1213, allocations: 122 kB / 0.4954 GB, free: 4.383 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006477/0.122, allocations: 0.7189 MB / 0.4961 GB, free: 3.609 MB / 382.1 MB Notification: Performance of Templates: time 0.003366/0.1254, allocations: 0.9133 MB / 0.497 GB, free: 2.699 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