Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001654/0.001654, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002185/0.002185, allocations: 210.2 kB / 23.73 MB, free: 4.531 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.97 MB / 360.9 MB, free: 4.043 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.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 75.88 kB / 0.4961 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3315, allocations: 66.03 MB / 0.5606 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003136/0.3346, allocations: 1.705 MB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001934/0.3348, allocations: 87.72 kB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.3348, allocations: 3.938 kB / 0.5623 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.932e-05/0.3349, allocations: 15.86 kB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.386e-05/0.335, allocations: 15.8 kB / 0.5623 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.3351, allocations: 35.89 kB / 0.5624 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.3353, allocations: 103.6 kB / 0.5625 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.3355, allocations: 41.78 kB / 0.5625 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.645e-05/0.3355, allocations: 51.84 kB / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.3356, allocations: 47.78 kB / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.3356, allocations: 12 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.3357, allocations: 12 kB / 0.5626 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.3357, allocations: 23.92 kB / 0.5627 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.3358, allocations: 43.78 kB / 0.5627 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.336, allocations: 119.5 kB / 0.5628 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.336, allocations: 0 / 0.5628 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.336, allocations: 0 / 0.5628 GB, free: 1.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.336, allocations: 0 / 0.5628 GB, free: 1.828 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006775/0.3366, allocations: 349.9 kB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3367, allocations: 8.031 kB / 0.5632 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.756e-05/0.3368, allocations: 46.73 kB / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.3368, allocations: 12.89 kB / 0.5632 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3369, allocations: 122.3 kB / 0.5633 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3369, allocations: 8.375 kB / 0.5633 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.337, allocations: 4.375 kB / 0.5633 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.3373, allocations: 123.8 kB / 0.5635 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3373, allocations: 3.938 kB / 0.5635 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.3374, allocations: 11.98 kB / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.3374, allocations: 4 kB / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.3377, allocations: 99.78 kB / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.3386, allocations: 422.6 kB / 0.564 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.3388, allocations: 86.45 kB / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.3391, allocations: 64.92 kB / 0.5641 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3391, allocations: 0 / 0.5641 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3391, allocations: 34.5 kB / 0.5642 GB, free: 320 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3391, allocations: 0 / 0.5642 GB, free: 320 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000849/0.34, allocations: 190.3 kB / 0.5643 GB, free: 120 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.34, allocations: 55.41 kB / 0.5644 GB, free: 52 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3402, allocations: 117.8 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3402, allocations: 25.7 kB / 0.5645 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.3403, allocations: 112.1 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.3403, allocations: 31.78 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.3404, allocations: 17.72 kB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3405, allocations: 314.8 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.3407, allocations: 39.95 kB / 0.565 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.3409, allocations: 58.52 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.3412, allocations: 106.6 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3412, allocations: 4 kB / 0.5652 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004401/0.3416, allocations: 142.4 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3416, allocations: 8.062 kB / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3416, allocations: 0 / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.3418, allocations: 28.78 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3419, allocations: 19.98 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.3433, allocations: 1.287 MB / 0.5666 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.3434, allocations: 23.94 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3434, allocations: 8.141 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.3435, allocations: 117.8 kB / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.3436, allocations: 15.88 kB / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.3436, allocations: 8.375 kB / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3436, allocations: 0 / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3436, allocations: 0 / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3436, allocations: 4 kB / 0.5668 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007579/0.3444, allocations: 387.2 kB / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3444, allocations: 4 kB / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.3445, allocations: 11.98 kB / 0.5672 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.172e-05/0.3445, allocations: 24.84 kB / 0.5672 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3446, allocations: 3.938 kB / 0.5672 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.3456, allocations: 1.291 MB / 0.5685 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3457, allocations: 4.094 kB / 0.5685 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.3461, allocations: 245 kB / 0.5687 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.3461, allocations: 7.953 kB / 0.5687 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.3462, allocations: 4 kB / 0.5687 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3463, allocations: 16.12 kB / 0.5687 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.3463, allocations: 7.969 kB / 0.5687 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3463, allocations: 11.94 kB / 0.5688 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.966e-05/0.3464, allocations: 99.2 kB / 0.5689 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3464, allocations: 0 / 0.5689 GB, free: 11.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3467, allocations: 27.89 kB / 0.5689 GB, free: 11.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007967/0.3475, allocations: 0.7609 MB / 0.5696 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005244/0.348, allocations: 202.6 kB / 0.5698 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.348, allocations: 3.938 kB / 0.5698 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.3482, allocations: 162.6 kB / 0.57 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3486, allocations: 8.125 kB / 0.57 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.3509, allocations: 1.606 MB / 0.5715 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.301e-05/0.351, allocations: 85.31 kB / 0.5716 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.623e-05/0.351, allocations: 3.75 kB / 0.5716 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.3511, allocations: 35.36 kB / 0.5717 GB, free: 8.023 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3511, allocations: 0 / 0.5717 GB, free: 8.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.383, allocations: 2.964 MB / 0.5746 GB, free: 5.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 7.688 kB / 0.5746 GB, free: 5.195 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reluctance.V_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable reluctance.V_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! Error: Could not read variable permeance.V_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable permeance.V_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.990125563985202]