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.001681/0.001681, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002048/0.002048, allocations: 205.1 kB / 23.72 MB, free: 4.391 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.643/1.643, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2856/0.2856, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 179] 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.002746/0.002746, allocations: 79.88 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3815, allocations: 66.09 MB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00352/0.3851, allocations: 1.871 MB / 0.563 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3862, allocations: 0.561 MB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3863, allocations: 7.938 kB / 0.5636 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.3865, allocations: 31.72 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.3866, allocations: 39.64 kB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.3868, allocations: 51.88 kB / 0.5637 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.387, allocations: 147.5 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3872, allocations: 49.36 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3873, allocations: 59.78 kB / 0.5639 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.3874, allocations: 47.77 kB / 0.564 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.3874, allocations: 15.94 kB / 0.564 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.005e-05/0.3874, allocations: 16 kB / 0.564 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.3875, allocations: 31.91 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.3875, allocations: 55.73 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.3878, allocations: 166 kB / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3878, allocations: 0 / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3878, allocations: 0 / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.3878, allocations: 0 / 0.5642 GB, free: 0.7891 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.0006776/0.3885, allocations: 374 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3885, allocations: 8.031 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.3885, allocations: 16.84 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.3888, allocations: 150.2 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3888, allocations: 16.66 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.3889, allocations: 12.38 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.3892, allocations: 143.8 kB / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3892, allocations: 0 / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3892, allocations: 4 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3892, allocations: 4 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.3895, allocations: 100.9 kB / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.3905, allocations: 0.5128 MB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.3908, allocations: 66.62 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3909, allocations: 28.91 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3909, allocations: 0 / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3909, allocations: 34.56 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.3909, allocations: 0 / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004066/0.3913, allocations: 117.6 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.3914, allocations: 55.34 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3915, allocations: 156.2 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3916, allocations: 25.7 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3917, allocations: 143.5 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.3917, allocations: 19.8 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.3917, allocations: 25.7 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3919, allocations: 322.8 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.392, allocations: 39.91 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3921, allocations: 60.27 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.3924, allocations: 96.17 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3924, allocations: 3.938 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003006/0.3927, allocations: 129.5 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3927, allocations: 10.03 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3927, allocations: 256 / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3927, allocations: 0 / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3928, allocations: 35.97 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3929, allocations: 0 / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.176e-05/0.3929, allocations: 11.95 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.393, allocations: 12.05 kB / 0.5669 GB, free: 13.89 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.0001122/0.3931, allocations: 125.8 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.3931, allocations: 7.953 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.3931, allocations: 12.41 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3931, allocations: 0 / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3931, allocations: 0 / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3931, allocations: 0 / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3933, allocations: 149.2 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3933, allocations: 0 / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.907e-05/0.3934, allocations: 15.98 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3934, allocations: 4 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.3934, allocations: 3.938 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3934, allocations: 0 / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3934, allocations: 4 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.3937, allocations: 191.3 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.3937, allocations: 3.953 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3938, allocations: 3.984 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.3939, allocations: 4 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.3939, allocations: 7.984 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3939, allocations: 4 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.152e-05/0.394, allocations: 111.2 kB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.394, allocations: 4 kB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3943, allocations: 27.89 kB / 0.5675 GB, free: 13.16 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.0001057/0.3944, allocations: 99.17 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.3947, allocations: 67.89 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3947, allocations: 4.25 kB / 0.5677 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.757e-05/0.3948, allocations: 23.98 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.395, allocations: 8 kB / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.3956, allocations: 268.6 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.935e-05/0.3957, allocations: 94.28 kB / 0.568 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.397e-05/0.3957, allocations: 7.984 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.3958, allocations: 15.38 kB / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3958, allocations: 0 / 0.5681 GB, free: 12.53 MB / 414.1 MB Notification: Performance of Templates: time 0.00377/0.3995, allocations: 0.7823 MB / 0.5688 GB, free: 11.75 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/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: 5.350113745778799]