Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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 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 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) 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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001183/0.001183, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2646/0.2646, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 57.92 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1056, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003562/0.1092, allocations: 1.907 MB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009641/0.1102, allocations: 0.561 MB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1104, allocations: 4 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1106, allocations: 35.72 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.1108, allocations: 31.7 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.111, allocations: 43.95 kB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1112, allocations: 155.4 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1113, allocations: 61.45 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1115, allocations: 59.78 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1116, allocations: 67.69 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.1116, allocations: 16 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.648e-05/0.1117, allocations: 12 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.1117, allocations: 31.91 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.1118, allocations: 63.67 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.112, allocations: 159.7 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.112, allocations: 0 / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.112, allocations: 0 / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.112, allocations: 0 / 472.6 MB, free: 11.03 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.0006343/0.1126, allocations: 447.3 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1127, allocations: 8.031 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.1127, allocations: 50.67 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1128, allocations: 16.75 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.113, allocations: 204.1 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.113, allocations: 8.656 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.113, allocations: 12.38 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.1133, allocations: 143.9 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1134, allocations: 7.938 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.1134, allocations: 4 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1134, allocations: 4 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.1137, allocations: 100.8 kB / 473.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.1146, allocations: 0.6143 MB / 474.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.1149, allocations: 66.62 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.115, allocations: 32.97 kB / 474.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.115, allocations: 7.984 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.115, allocations: 30.56 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1151, allocations: 0 / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003837/0.1154, allocations: 117.5 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.1155, allocations: 51.41 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1156, allocations: 159.9 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1156, allocations: 29.7 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.1157, allocations: 135.4 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.1157, allocations: 19.75 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.1158, allocations: 29.7 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1159, allocations: 314.8 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.116, allocations: 27.98 kB / 475.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1162, allocations: 64.27 kB / 475.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1164, allocations: 100.2 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1164, allocations: 0 / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002808/0.1167, allocations: 121.4 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1167, allocations: 15.92 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1167, allocations: 0 / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1167, allocations: 7.938 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1169, allocations: 28.05 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1169, allocations: 4 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.117, allocations: 19.83 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.117, allocations: 8 kB / 475.5 MB, free: 7.789 MB / 350.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.658e-05/0.1171, allocations: 113.8 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.1171, allocations: 7.906 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.1172, allocations: 16.31 kB / 475.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1172, allocations: 3.938 kB / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1172, allocations: 0 / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1172, allocations: 4 kB / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.1174, allocations: 205.6 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1174, allocations: 0 / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.1175, allocations: 19.98 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1175, allocations: 0 / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1175, allocations: 7.938 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1175, allocations: 3.938 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1175, allocations: 0 / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1178, allocations: 187.7 kB / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.1178, allocations: 85 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1179, allocations: 0 / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.118, allocations: 11.94 kB / 476.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.118, allocations: 7.984 kB / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.118, allocations: 0 / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.588e-05/0.1181, allocations: 116.8 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1181, allocations: 4 kB / 476.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1184, allocations: 27.84 kB / 476.3 MB, free: 6.895 MB / 350.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 0.0005238/0.1189, allocations: 0.72 MB / 477 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.1192, allocations: 71.89 kB / 477.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1192, allocations: 0 / 477.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1193, allocations: 31.97 kB / 477.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1196, allocations: 7.094 kB / 477.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.1216, allocations: 1.634 MB / 478.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1218, allocations: 0.7041 MB / 479.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.722e-05/0.1219, allocations: 8.656 kB / 479.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.122, allocations: 35.42 kB / 479.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.122, allocations: 0 / 479.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.1415, allocations: 2.076 MB / 481.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.748, allocations: 0 / 481.6 MB, free: 1.508 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches