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.001951/0.001951, 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.003456/0.003456, allocations: 207.5 kB / 23.73 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.547/1.547, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2441/0.2441, allocations: 46.94 MB / 360.8 MB, free: 3.914 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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 79.86 kB / 0.4961 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3736, allocations: 66.09 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.004178/0.3778, allocations: 1.889 MB / 0.5625 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3791, allocations: 0.5493 MB / 0.5631 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.3793, allocations: 4 kB / 0.5631 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.3795, allocations: 39.72 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.3798, allocations: 31.7 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.38, allocations: 47.88 kB / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.3803, allocations: 155.4 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.3805, allocations: 47.55 kB / 0.5634 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.3806, allocations: 51.84 kB / 0.5634 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3807, allocations: 55.69 kB / 0.5635 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.3808, allocations: 23.94 kB / 0.5635 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.232e-05/0.3808, allocations: 12 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.3809, allocations: 31.86 kB / 0.5635 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.633e-05/0.381, allocations: 59.72 kB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.3812, allocations: 159.3 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3813, allocations: 0 / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3813, allocations: 0 / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3813, allocations: 4 kB / 0.5637 GB, free: 0.875 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.0008087/0.3821, allocations: 373.9 kB / 0.5641 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3821, allocations: 11.97 kB / 0.5641 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.028e-05/0.3822, allocations: 46.73 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.3822, allocations: 16.84 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.3826, allocations: 153.4 kB / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3826, allocations: 8.656 kB / 0.5643 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.3826, allocations: 16.38 kB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.383, allocations: 135.9 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.383, allocations: 0 / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.383, allocations: 8 kB / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.383, allocations: 8 kB / 0.5645 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.3834, allocations: 104.8 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.3845, allocations: 0.5435 MB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.3848, allocations: 66.58 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.3849, allocations: 33 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3849, allocations: 0 / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.385, allocations: 42.5 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.385, allocations: 0 / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004242/0.3854, allocations: 101.6 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.3855, allocations: 59.41 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3856, allocations: 154.3 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3856, allocations: 25.7 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3858, allocations: 139.8 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.3858, allocations: 23.73 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.3859, allocations: 25.72 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3861, allocations: 322.8 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.3862, allocations: 27.97 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3863, allocations: 72.14 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.3866, allocations: 92.2 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3866, allocations: 0 / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000317/0.3869, allocations: 117.5 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3869, allocations: 8 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3869, allocations: 0 / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.3869, allocations: 8.062 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3871, allocations: 36.11 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3871, allocations: 7.984 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3872, allocations: 15.95 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3872, allocations: 0 / 0.5664 GB, free: 13.87 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.0001286/0.3873, allocations: 125.8 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.3874, allocations: 11.89 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.3874, allocations: 16.39 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3874, allocations: 7.922 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3874, allocations: 4 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3874, allocations: 0 / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.3877, allocations: 172.7 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3877, allocations: 4 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.523e-05/0.3878, allocations: 15.98 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.3878, allocations: 0 / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3878, allocations: 0 / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3878, allocations: 3.938 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3878, allocations: 3.984 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.3881, allocations: 187.4 kB / 0.567 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.3882, allocations: 15.89 kB / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3882, allocations: 0 / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.3883, allocations: 11.92 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.3883, allocations: 3.938 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3883, allocations: 4 kB / 0.567 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.3884, allocations: 118.8 kB / 0.5671 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3884, allocations: 0 / 0.5671 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000266/0.3887, allocations: 27.89 kB / 0.5671 GB, free: 13.08 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.0006714/0.3894, allocations: 0.7124 MB / 0.5678 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.3897, allocations: 71.88 kB / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3897, allocations: 0 / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3898, allocations: 31.92 kB / 0.5679 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.3901, allocations: 7 kB / 0.5679 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.3922, allocations: 1.644 MB / 0.5695 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.3924, allocations: 98.27 kB / 0.5696 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.815e-05/0.3924, allocations: 4.672 kB / 0.5696 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.3925, allocations: 39.42 kB / 0.5697 GB, free: 10.33 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3925, allocations: 3.938 kB / 0.5697 GB, free: 10.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.4224, allocations: 2.681 MB / 0.5723 GB, free: 7.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.59, allocations: 15.98 kB / 0.5723 GB, free: 7.734 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv","/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] "Error: Could not read variable magneticPotentialDifferenceSensor.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticFluxSensor.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticFluxSensor.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticPotentialDifferenceSensor.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.745472444687039]