Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 212.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.683/1.683, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2581/0.2581, allocations: 46.97 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003607/0.003607, allocations: 79.81 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3847, allocations: 66.03 MB / 0.5611 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003419/0.3881, allocations: 1.874 MB / 0.5629 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3892, allocations: 0.5571 MB / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.3893, allocations: 0 / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.3895, allocations: 39.7 kB / 0.5635 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3896, allocations: 39.7 kB / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.3898, allocations: 47.89 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.39, allocations: 151.4 kB / 0.5637 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3901, allocations: 48.36 kB / 0.5638 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.3902, allocations: 47.86 kB / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.612e-05/0.3903, allocations: 59.69 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.3903, allocations: 16 kB / 0.5639 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.812e-05/0.3904, allocations: 12 kB / 0.5639 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.3904, allocations: 31.86 kB / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.3905, allocations: 55.73 kB / 0.564 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.3907, allocations: 167 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3907, allocations: 4 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3907, allocations: 4 kB / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3907, allocations: 0 / 0.5641 GB, free: 1.043 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.0007738/0.3915, allocations: 370 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001045/0.3916, allocations: 8.031 kB / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.3916, allocations: 16.84 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.3919, allocations: 154.2 kB / 0.5647 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3919, allocations: 8.656 kB / 0.5647 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3919, allocations: 12.38 kB / 0.5647 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.3922, allocations: 144.1 kB / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3922, allocations: 0 / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.3923, allocations: 12 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3923, allocations: 4 kB / 0.5648 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.3926, allocations: 104.8 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.3936, allocations: 0.5128 MB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.3938, allocations: 62.58 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3939, allocations: 33 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3939, allocations: 0 / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.394, allocations: 34.5 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.394, allocations: 0 / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003965/0.3944, allocations: 113.6 kB / 0.5657 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3944, allocations: 51.41 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.3946, allocations: 159.7 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3946, allocations: 25.7 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.3947, allocations: 135.5 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.3947, allocations: 23.78 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.3948, allocations: 25.66 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.395, allocations: 326.8 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3951, allocations: 31.97 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3952, allocations: 68.14 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3955, allocations: 92.2 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3955, allocations: 0 / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003382/0.3958, allocations: 137.5 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3958, allocations: 4 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3958, allocations: 3.938 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3958, allocations: 4 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.396, allocations: 23.98 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.396, allocations: 0 / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3961, allocations: 24.06 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3961, allocations: 7.938 kB / 0.5668 GB, free: 14.14 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.0001059/0.3962, allocations: 121.8 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.3962, allocations: 7.953 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.3963, allocations: 16.39 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3963, allocations: 0 / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3963, allocations: 0 / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3963, allocations: 0 / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3964, allocations: 141.2 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3964, allocations: 0 / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.764e-05/0.3965, allocations: 24.23 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3965, allocations: 4 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3966, allocations: 7.984 kB / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3966, allocations: 0 / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3966, allocations: 0 / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.3968, allocations: 183.4 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.3969, allocations: 7.953 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3969, allocations: 4 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.397, allocations: 19.8 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.397, allocations: 4 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.397, allocations: 4 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.882e-05/0.3971, allocations: 111.2 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3971, allocations: 0 / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.3974, allocations: 31.89 kB / 0.5674 GB, free: 13.4 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.0001651/0.3975, allocations: 95.19 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.3978, allocations: 68.08 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3978, allocations: 4.062 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3979, allocations: 27.97 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.3982, allocations: 8 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.3988, allocations: 264.6 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.3989, allocations: 98.27 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.066e-05/0.3989, allocations: 0 / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.399, allocations: 11.44 kB / 0.568 GB, free: 12.78 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.399, allocations: 0 / 0.568 GB, free: 12.78 MB / 414.1 MB Notification: Performance of Templates: time 0.003772/0.4027, allocations: 0.7823 MB / 0.5687 GB, free: 12.01 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.499632015824318]