Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00129/0.00129, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001455/0.001455, allocations: 212.3 kB / 24.52 MB, free: 4.074 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 44.91 MB / 359.6 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 79.88 kB / 0.4939 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2847, allocations: 65.46 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003608/0.2883, allocations: 1.962 MB / 0.5597 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2895, allocations: 0.6153 MB / 0.5603 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2896, allocations: 0 / 0.5603 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.2898, allocations: 35.72 kB / 0.5603 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.2899, allocations: 35.7 kB / 0.5604 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.29, allocations: 43.94 kB / 0.5604 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.2902, allocations: 155.4 kB / 0.5606 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2904, allocations: 47.69 kB / 0.5606 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.2905, allocations: 63.78 kB / 0.5607 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2906, allocations: 67.69 kB / 0.5607 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.2906, allocations: 16 kB / 0.5607 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.427e-05/0.2906, allocations: 12 kB / 0.5608 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.2906, allocations: 27.92 kB / 0.5608 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.875e-05/0.2907, allocations: 63.67 kB / 0.5608 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.2909, allocations: 163.3 kB / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2909, allocations: 0 / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2909, allocations: 0 / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2909, allocations: 0 / 0.561 GB, free: 4.477 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.0006416/0.2916, allocations: 377.9 kB / 0.5614 GB, free: 4.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2916, allocations: 12.03 kB / 0.5614 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.081e-05/0.2916, allocations: 8.469 kB / 0.5614 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.2917, allocations: 46.73 kB / 0.5614 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.2917, allocations: 12.84 kB / 0.5614 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.292, allocations: 146.3 kB / 0.5616 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.292, allocations: 16.66 kB / 0.5616 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.292, allocations: 12.38 kB / 0.5616 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.2924, allocations: 147.7 kB / 0.5617 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2924, allocations: 0 / 0.5617 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.2924, allocations: 4 kB / 0.5617 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.2924, allocations: 4 kB / 0.5617 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.2927, allocations: 100.8 kB / 0.5618 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.2938, allocations: 0.5822 MB / 0.5624 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.294, allocations: 62.62 kB / 0.5625 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.2942, allocations: 32.95 kB / 0.5625 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.2942, allocations: 4 kB / 0.5625 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.2942, allocations: 30.56 kB / 0.5625 GB, free: 2.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.2942, allocations: 4 kB / 0.5625 GB, free: 2.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004044/0.2946, allocations: 113.5 kB / 0.5626 GB, free: 2.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2946, allocations: 55.34 kB / 0.5627 GB, free: 2.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.2948, allocations: 156.8 kB / 0.5628 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.2948, allocations: 33.64 kB / 0.5629 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2949, allocations: 135.8 kB / 0.563 GB, free: 2.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.295, allocations: 15.84 kB / 0.563 GB, free: 2.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.295, allocations: 29.66 kB / 0.5631 GB, free: 2.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2952, allocations: 318.8 kB / 0.5634 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.2953, allocations: 31.97 kB / 0.5634 GB, free: 1.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2954, allocations: 64.27 kB / 0.5634 GB, free: 1.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.2956, allocations: 96.12 kB / 0.5635 GB, free: 1.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2957, allocations: 4 kB / 0.5635 GB, free: 1.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003062/0.296, allocations: 121.5 kB / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.296, allocations: 4 kB / 0.5637 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.296, allocations: 4 kB / 0.5637 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.296, allocations: 3.938 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.2961, allocations: 31.91 kB / 0.5637 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2961, allocations: 8.125 kB / 0.5637 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.429e-05/0.2962, allocations: 7.953 kB / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.2962, allocations: 4 kB / 0.5637 GB, free: 1.434 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 0.000107/0.2963, allocations: 125.8 kB / 0.5638 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.2964, allocations: 7.953 kB / 0.5638 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.2964, allocations: 12.34 kB / 0.5639 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2964, allocations: 4 kB / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.2964, allocations: 0 / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2964, allocations: 4 kB / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.2966, allocations: 184.6 kB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2966, allocations: 0 / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.2967, allocations: 19.98 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2967, allocations: 3.938 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2968, allocations: 3.938 kB / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2968, allocations: 4 kB / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2968, allocations: 0 / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.297, allocations: 183.5 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.2971, allocations: 3.953 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.2971, allocations: 8.234 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.2972, allocations: 12 kB / 0.5643 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.2972, allocations: 7.984 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2972, allocations: 0 / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.999e-05/0.2973, allocations: 115.2 kB / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2973, allocations: 0 / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.2976, allocations: 27.95 kB / 0.5644 GB, free: 0.6484 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 0.0005955/0.2982, allocations: 0.72 MB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.2984, allocations: 75.83 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2984, allocations: 0 / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.2985, allocations: 27.97 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.2988, allocations: 12.17 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.3009, allocations: 1.66 MB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.3012, allocations: 0.7079 MB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.3013, allocations: 12.64 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.3014, allocations: 39.42 kB / 0.5676 GB, free: 13.24 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3014, allocations: 0 / 0.5676 GB, free: 13.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.3223, allocations: 2.342 MB / 0.5699 GB, free: 11.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.81, allocations: 7.984 kB / 0.5699 GB, free: 11.04 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.709034187020734]