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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00188/0.00188, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002429/0.002429, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2474/0.2474, allocations: 46.95 MB / 361.5 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 180] 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=1000,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=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 79.88 kB / 0.4974 GB, free: 7.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3303, allocations: 66.08 MB / 0.5619 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003364/0.3336, allocations: 1.885 MB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3347, allocations: 0.5648 MB / 0.5643 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.3348, allocations: 4 kB / 0.5643 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.335, allocations: 35.66 kB / 0.5643 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.3351, allocations: 31.7 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.3353, allocations: 47.89 kB / 0.5644 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.3355, allocations: 151.5 kB / 0.5645 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3356, allocations: 51.75 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.875e-05/0.3357, allocations: 63.78 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.3358, allocations: 51.7 kB / 0.5647 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.3359, allocations: 12 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.155e-05/0.3359, allocations: 16 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.3359, allocations: 23.92 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.336, allocations: 59.72 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.3362, allocations: 167 kB / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3362, allocations: 0 / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3362, allocations: 0 / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3362, allocations: 0 / 0.565 GB, free: 0.8398 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.0006484/0.3369, allocations: 373.9 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3369, allocations: 12.03 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.337, allocations: 16.83 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3372, allocations: 150.3 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3373, allocations: 12.66 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.3373, allocations: 16.31 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.3376, allocations: 140.1 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3376, allocations: 4 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3376, allocations: 4 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3376, allocations: 4 kB / 0.5657 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.338, allocations: 104.8 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000958/0.3389, allocations: 0.505 MB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.3392, allocations: 70.62 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3393, allocations: 32.89 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.3393, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3393, allocations: 42.5 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3393, allocations: 0 / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003938/0.3397, allocations: 105.8 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.3397, allocations: 51.41 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3399, allocations: 164.2 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3399, allocations: 25.7 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.34, allocations: 139.5 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.34, allocations: 23.8 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.3401, allocations: 21.72 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3402, allocations: 322.8 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3403, allocations: 31.97 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.3405, allocations: 68.2 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.3407, allocations: 100.1 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3407, allocations: 0 / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003131/0.341, allocations: 121.5 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.341, allocations: 4.125 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3411, allocations: 8 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3411, allocations: 0 / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3412, allocations: 27.92 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3412, allocations: 7.984 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.3413, allocations: 7.953 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3413, allocations: 7.938 kB / 0.5676 GB, free: 13.94 MB / 414.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.0001166/0.3414, allocations: 121.8 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.3415, allocations: 7.953 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.3415, allocations: 16.39 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3415, allocations: 0 / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3415, allocations: 7.938 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3415, allocations: 3.938 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.3417, allocations: 149.2 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3417, allocations: 0 / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.3418, allocations: 15.98 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3418, allocations: 3.984 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3418, allocations: 0 / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3418, allocations: 0 / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3418, allocations: 0 / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3421, allocations: 191.4 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.3421, allocations: 7.953 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3422, allocations: 0 / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.3423, allocations: 8.109 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.3423, allocations: 4 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.3423, allocations: 7.984 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.685e-05/0.3424, allocations: 115.2 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3424, allocations: 0 / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.3427, allocations: 27.89 kB / 0.5682 GB, free: 13.21 MB / 414.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.0001151/0.3428, allocations: 103.2 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.3431, allocations: 67.89 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3431, allocations: 0 / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3432, allocations: 27.97 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.3434, allocations: 8.25 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.344, allocations: 298.3 kB / 0.5687 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.3441, allocations: 90.28 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.3441, allocations: 15.38 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3441, allocations: 0 / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of Templates: time 0.00315/0.3473, allocations: 1.319 MB / 0.5701 GB, free: 11.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.676937961019576]