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.001678/0.001678, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001878/0.001878, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2338/0.2338, allocations: 46.95 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 72.12 kB / 0.4969 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.315, allocations: 66.03 MB / 0.5613 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003406/0.3184, allocations: 1.886 MB / 0.5632 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3195, allocations: 0.5571 MB / 0.5637 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.3196, allocations: 4 kB / 0.5637 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.3197, allocations: 31.72 kB / 0.5638 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.3199, allocations: 35.7 kB / 0.5638 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.32, allocations: 43.95 kB / 0.5638 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.3203, allocations: 159.3 kB / 0.564 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3204, allocations: 47.55 kB / 0.564 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.751e-05/0.3205, allocations: 55.84 kB / 0.5641 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3206, allocations: 67.7 kB / 0.5641 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.3206, allocations: 12 kB / 0.5642 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.3207, allocations: 16 kB / 0.5642 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.3207, allocations: 31.84 kB / 0.5642 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.688e-05/0.3208, allocations: 55.73 kB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.321, allocations: 163.3 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.321, allocations: 0 / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.321, allocations: 0 / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.321, allocations: 0 / 0.5644 GB, free: 1.102 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.0006502/0.3217, allocations: 377.9 kB / 0.5648 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3217, allocations: 12.03 kB / 0.5648 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.61e-05/0.3217, allocations: 4.469 kB / 0.5648 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.3218, allocations: 46.73 kB / 0.5648 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.3218, allocations: 20.78 kB / 0.5649 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3221, allocations: 138.4 kB / 0.565 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3221, allocations: 12.66 kB / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.3221, allocations: 16.36 kB / 0.565 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.3224, allocations: 143.8 kB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3224, allocations: 7.938 kB / 0.5652 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3225, allocations: 4 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3225, allocations: 4 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.3228, allocations: 104.8 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.3238, allocations: 0.5432 MB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.3241, allocations: 66.58 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3242, allocations: 29.02 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.3242, allocations: 3.984 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3242, allocations: 30.56 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3242, allocations: 0 / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000407/0.3246, allocations: 117.7 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3247, allocations: 55.34 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3248, allocations: 158.4 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.3248, allocations: 29.7 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.3249, allocations: 131.8 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.325, allocations: 23.77 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.325, allocations: 29.67 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3252, allocations: 322.8 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3253, allocations: 27.97 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.3254, allocations: 60.27 kB / 0.5668 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.3256, allocations: 100.1 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3256, allocations: 0 / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002962/0.3259, allocations: 121.5 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.326, allocations: 10.47 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.326, allocations: 0 / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.326, allocations: 7.938 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.3261, allocations: 27.92 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3261, allocations: 80 / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3262, allocations: 19.94 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.3262, allocations: 7.984 kB / 0.5671 GB, free: 14.09 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.0001014/0.3263, allocations: 117.8 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.3264, allocations: 7.953 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.3264, allocations: 24.33 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3264, allocations: 0 / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3264, allocations: 0 / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3264, allocations: 0 / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3267, allocations: 180.6 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3267, allocations: 0 / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.976e-05/0.3268, allocations: 19.98 kB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3268, allocations: 0 / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3268, allocations: 3.938 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3268, allocations: 0 / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3268, allocations: 3.938 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.3271, allocations: 187.5 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.3271, allocations: 15.88 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.3271, allocations: 7.938 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.3272, allocations: 4.125 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.3273, allocations: 7.984 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3273, allocations: 4 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.848e-05/0.3274, allocations: 116.6 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3274, allocations: 3.938 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3276, allocations: 27.95 kB / 0.5678 GB, free: 13.3 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.0006154/0.3282, allocations: 0.7162 MB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.3285, allocations: 67.89 kB / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3285, allocations: 0 / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3286, allocations: 32.16 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3289, allocations: 12 kB / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.331, allocations: 1.648 MB / 0.5702 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.592e-05/0.3311, allocations: 98.2 kB / 0.5703 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.489e-05/0.3311, allocations: 4.672 kB / 0.5703 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.3312, allocations: 35.42 kB / 0.5704 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3312, allocations: 4 kB / 0.5704 GB, free: 10.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.3526, allocations: 2.359 MB / 0.5727 GB, free: 8.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.82, allocations: 8.047 kB / 0.5727 GB, free: 8.324 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_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: 14.769227906013839]