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.001309/0.001309, allocations: 114.8 kB / 21.22 MB, free: 0.75 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.001447/0.001447, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.231/0.231, allocations: 46.94 MB / 361.7 MB, free: 4.246 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.001963/0.001963, allocations: 63.91 kB / 0.4969 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3429, allocations: 66.04 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003287/0.3462, allocations: 1.959 MB / 0.5633 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3472, allocations: 0.6154 MB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.3473, allocations: 0 / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.3474, allocations: 39.7 kB / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.3475, allocations: 31.7 kB / 0.564 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.3477, allocations: 47.88 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3479, allocations: 151.5 kB / 0.5642 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.348, allocations: 47.55 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.512e-05/0.3481, allocations: 67.77 kB / 0.5643 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3482, allocations: 63.7 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.3482, allocations: 16 kB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.42e-05/0.3483, allocations: 12 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.3483, allocations: 27.92 kB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.3484, allocations: 63.67 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.3486, allocations: 163.3 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3486, allocations: 0 / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3486, allocations: 0 / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3486, allocations: 0 / 0.5646 GB, free: 1.164 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.0006342/0.3492, allocations: 384.8 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3493, allocations: 12.03 kB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.884e-05/0.3493, allocations: 12.41 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.3493, allocations: 46.73 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.3494, allocations: 16.84 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.3496, allocations: 146.3 kB / 0.5652 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3496, allocations: 12.66 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.3496, allocations: 16.38 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.3499, allocations: 139.8 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.35, allocations: 0 / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.35, allocations: 4 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.35, allocations: 4 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.3503, allocations: 104.8 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.3513, allocations: 0.5705 MB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.3515, allocations: 66.61 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3516, allocations: 28.97 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.3516, allocations: 4 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3517, allocations: 42.44 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.3517, allocations: 0 / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003915/0.3521, allocations: 105.6 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3521, allocations: 55.34 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3522, allocations: 156.4 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3523, allocations: 29.7 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3524, allocations: 135.8 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.3524, allocations: 19.84 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.3524, allocations: 25.66 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3526, allocations: 318.8 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3527, allocations: 31.97 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3528, allocations: 68.2 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.353, allocations: 96.12 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.353, allocations: 4 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002998/0.3533, allocations: 125.5 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3534, allocations: 8 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3534, allocations: 3.938 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3534, allocations: 3.938 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3535, allocations: 27.97 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3535, allocations: 8.125 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.3536, allocations: 7.953 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.3536, allocations: 11.98 kB / 0.5674 GB, free: 14.11 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.0001007/0.3537, allocations: 121.8 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.3538, allocations: 8.203 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.3538, allocations: 16.34 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3538, allocations: 4 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3538, allocations: 4 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3538, allocations: 4 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.354, allocations: 180.6 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.354, allocations: 0 / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.543e-05/0.3541, allocations: 15.98 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3541, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3541, allocations: 7.938 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3541, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3541, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3544, allocations: 183.5 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.3544, allocations: 7.938 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3545, allocations: 11.94 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.3546, allocations: 0 / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.3546, allocations: 11.92 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3546, allocations: 0 / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.044e-05/0.3547, allocations: 118.4 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3547, allocations: 3.938 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3549, allocations: 27.95 kB / 0.568 GB, free: 13.33 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.0005722/0.3555, allocations: 0.7123 MB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3558, allocations: 71.89 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3558, allocations: 0 / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3559, allocations: 31.91 kB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3562, allocations: 11.94 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3582, allocations: 1.656 MB / 0.5705 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3586, allocations: 0.7041 MB / 0.5712 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.097e-05/0.3586, allocations: 8.656 kB / 0.5712 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.3587, allocations: 39.42 kB / 0.5712 GB, free: 9.945 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3587, allocations: 0 / 0.5712 GB, free: 9.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.3801, allocations: 2.35 MB / 0.5735 GB, free: 7.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.65, allocations: 0 / 0.5735 GB, free: 7.738 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.562479250016622]