Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.88 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1054, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003039/0.1084, allocations: 1.918 MB / 483.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.1093, allocations: 0.6037 MB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.1094, allocations: 0 / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.1096, allocations: 31.72 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1097, allocations: 35.7 kB / 484.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.1099, allocations: 47.89 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.11, allocations: 151.5 kB / 484.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1102, allocations: 65.09 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.1103, allocations: 55.78 kB / 484.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.1104, allocations: 67.69 kB / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1104, allocations: 16 kB / 484.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.012e-05/0.1104, allocations: 12 kB / 484.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.1104, allocations: 27.92 kB / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.1105, allocations: 67.66 kB / 484.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1107, allocations: 171.3 kB / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1107, allocations: 0 / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1107, allocations: 3.938 kB / 484.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1107, allocations: 0 / 484.7 MB, free: 1.277 MB / 350.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.0005402/0.1113, allocations: 435.3 kB / 485.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1113, allocations: 12.03 kB / 485.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.1113, allocations: 16.73 kB / 485.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1116, allocations: 211.3 kB / 485.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1116, allocations: 8.656 kB / 485.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1116, allocations: 16.38 kB / 485.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.1119, allocations: 141 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.112, allocations: 0 / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.112, allocations: 11.94 kB / 485.6 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.112, allocations: 4 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.1123, allocations: 104.8 kB / 485.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.1132, allocations: 0.6105 MB / 486.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.1134, allocations: 66.62 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.336e-05/0.1135, allocations: 32.97 kB / 486.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1135, allocations: 0 / 486.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1136, allocations: 38.5 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.1136, allocations: 0 / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003663/0.1139, allocations: 109.5 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.114, allocations: 51.41 kB / 486.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1141, allocations: 154.4 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1141, allocations: 29.7 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.1142, allocations: 139.5 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.1142, allocations: 15.73 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1143, allocations: 29.62 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1144, allocations: 322.8 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.976e-05/0.1145, allocations: 23.98 kB / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1146, allocations: 72.2 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.1148, allocations: 100.1 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1149, allocations: 0 / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000269/0.1151, allocations: 125.5 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1152, allocations: 4 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1152, allocations: 11.94 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1152, allocations: 0 / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1153, allocations: 36.05 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1153, allocations: 4 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-05/0.1154, allocations: 11.92 kB / 487.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1154, allocations: 4 kB / 487.6 MB, free: 14.1 MB / 366.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 0.0001063/0.1156, allocations: 121.8 kB / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.1156, allocations: 11.91 kB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.1156, allocations: 8.312 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1156, allocations: 3.938 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1156, allocations: 7.984 kB / 487.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1157, allocations: 4 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1159, allocations: 209.5 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1159, allocations: 0 / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.116, allocations: 15.98 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.116, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.116, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.116, allocations: 3.938 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.116, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.1163, allocations: 195.3 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.1163, allocations: 85.02 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1164, allocations: 0 / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.1165, allocations: 15.86 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.1165, allocations: 4 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1165, allocations: 4 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.527e-05/0.1166, allocations: 118.8 kB / 488.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1166, allocations: 0 / 488.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1169, allocations: 31.84 kB / 488.5 MB, free: 13.18 MB / 366.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.81e-05/0.117, allocations: 91.25 kB / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.1172, allocations: 67.89 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1172, allocations: 0 / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.1173, allocations: 32.22 kB / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.1176, allocations: 17.14 kB / 488.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.118, allocations: 264.2 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1183, allocations: 0.7119 MB / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.642e-05/0.1184, allocations: 0.6719 kB / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.1184, allocations: 15.44 kB / 489.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1184, allocations: 0 / 489.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Templates: time 0.002833/0.1212, allocations: 0.7074 MB / 490.3 MB, free: 11.23 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches