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.001335/0.001335, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2004/0.2004, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 79.86 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2886, allocations: 62.42 MB / 0.5316 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002807/0.2915, allocations: 1.931 MB / 0.5335 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009019/0.2924, allocations: 0.6082 MB / 0.5341 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.2925, allocations: 6.719 kB / 0.5341 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.2927, allocations: 36.31 kB / 0.5342 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2928, allocations: 33.39 kB / 0.5342 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.2929, allocations: 45.31 kB / 0.5342 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.2931, allocations: 147.1 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2932, allocations: 60.44 kB / 0.5344 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.2933, allocations: 66.2 kB / 0.5345 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.898e-05/0.2934, allocations: 59.98 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.2935, allocations: 13.25 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.232e-05/0.2935, allocations: 13.47 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.2935, allocations: 31.44 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.854e-05/0.2936, allocations: 67.33 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.2938, allocations: 156.7 kB / 0.5348 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2938, allocations: 1.188 kB / 0.5348 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2938, allocations: 0 / 0.5348 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.2938, allocations: 0 / 0.5348 GB, free: 11.08 MB / 398.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.0005513/0.2943, allocations: 451.4 kB / 0.5352 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2944, allocations: 10.03 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.2944, allocations: 15.38 kB / 0.5353 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.2946, allocations: 210.5 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2947, allocations: 9.969 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.2947, allocations: 13.03 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.295, allocations: 152.7 kB / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.295, allocations: 0 / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.295, allocations: 5.375 kB / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.295, allocations: 6.734 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.2953, allocations: 105.1 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.2961, allocations: 0.6131 MB / 0.5363 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.2964, allocations: 70.86 kB / 0.5364 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.2965, allocations: 30.25 kB / 0.5364 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.2965, allocations: 0.875 kB / 0.5364 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.2965, allocations: 35.62 kB / 0.5365 GB, free: 9.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2965, allocations: 0 / 0.5365 GB, free: 9.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003391/0.2969, allocations: 107.2 kB / 0.5366 GB, free: 9.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.2969, allocations: 56.5 kB / 0.5366 GB, free: 9.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2971, allocations: 154.7 kB / 0.5368 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2971, allocations: 30.67 kB / 0.5368 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.2972, allocations: 132 kB / 0.5369 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.2972, allocations: 21.98 kB / 0.537 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.2972, allocations: 29.03 kB / 0.537 GB, free: 9.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.2973, allocations: 321.3 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.344e-05/0.2974, allocations: 28.34 kB / 0.5373 GB, free: 8.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2976, allocations: 67.39 kB / 0.5374 GB, free: 8.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.2978, allocations: 87.11 kB / 0.5375 GB, free: 8.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2978, allocations: 0 / 0.5375 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002511/0.298, allocations: 131.2 kB / 0.5376 GB, free: 8.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.298, allocations: 5.438 kB / 0.5376 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.298, allocations: 1.125 kB / 0.5376 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2981, allocations: 2.688 kB / 0.5376 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2982, allocations: 27.27 kB / 0.5376 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2982, allocations: 2.438 kB / 0.5376 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.835e-05/0.2983, allocations: 22.58 kB / 0.5377 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2983, allocations: 3.438 kB / 0.5377 GB, free: 8.512 MB / 398.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.644e-05/0.2984, allocations: 123.4 kB / 0.5378 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.2984, allocations: 12.34 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.2985, allocations: 14.58 kB / 0.5378 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2985, allocations: 5.062 kB / 0.5378 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2985, allocations: 0 / 0.5378 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2985, allocations: 1.094 kB / 0.5378 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.2987, allocations: 214.4 kB / 0.538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2987, allocations: 4 kB / 0.538 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.2988, allocations: 15.45 kB / 0.538 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2988, allocations: 1.125 kB / 0.538 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2988, allocations: 256 / 0.538 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.2988, allocations: 9 kB / 0.538 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2988, allocations: 0 / 0.538 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.2991, allocations: 190.5 kB / 0.5382 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.2991, allocations: 83.86 kB / 0.5383 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.2991, allocations: 1.156 kB / 0.5383 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.2992, allocations: 11.36 kB / 0.5383 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.2993, allocations: 2.188 kB / 0.5383 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2993, allocations: 1.188 kB / 0.5383 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.2994, allocations: 115.9 kB / 0.5384 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2994, allocations: 0 / 0.5384 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.2996, allocations: 27.66 kB / 0.5385 GB, free: 7.734 MB / 398.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 9.53e-05/0.2997, allocations: 95.38 kB / 0.5385 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.3, allocations: 72.22 kB / 0.5386 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3, allocations: 0 / 0.5386 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.3001, allocations: 28.95 kB / 0.5386 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.3003, allocations: 11.06 kB / 0.5386 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.3008, allocations: 288.4 kB / 0.5389 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3011, allocations: 0.7099 MB / 0.5396 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.3011, allocations: 12.53 kB / 0.5396 GB, free: 6.648 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3011, allocations: 4 kB / 0.5396 GB, free: 6.645 MB / 398.1 MB Notification: Performance of Templates: time 0.002581/0.3037, allocations: 1.288 MB / 0.5409 GB, free: 5.973 MB / 398.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 -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