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.001946/0.001946, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002373/0.002373, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2293/0.2293, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.002081/0.002081, allocations: 67.89 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3716, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003732/0.3753, allocations: 1.695 MB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002274/0.3756, allocations: 79.67 kB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.3756, allocations: 0 / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.971e-05/0.3757, allocations: 19.86 kB / 0.5623 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.3758, allocations: 19.78 kB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.376, allocations: 27.91 kB / 0.5624 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.3761, allocations: 111.6 kB / 0.5625 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.3764, allocations: 45.77 kB / 0.5625 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.491e-05/0.3765, allocations: 47.86 kB / 0.5626 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.125e-05/0.3766, allocations: 43.77 kB / 0.5626 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.3766, allocations: 8 kB / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.454e-05/0.3766, allocations: 12 kB / 0.5626 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.3766, allocations: 23.92 kB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.3767, allocations: 39.8 kB / 0.5627 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3769, allocations: 119.6 kB / 0.5628 GB, free: 1.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.3769, allocations: 0 / 0.5628 GB, free: 1.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.3769, allocations: 3.938 kB / 0.5628 GB, free: 1.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.377, allocations: 0 / 0.5628 GB, free: 1.938 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.0008647/0.3778, allocations: 349.9 kB / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001011/0.3779, allocations: 8.031 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.378, allocations: 42.75 kB / 0.5632 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.378, allocations: 12.89 kB / 0.5632 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.3782, allocations: 122.4 kB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3782, allocations: 4.375 kB / 0.5633 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3782, allocations: 8.375 kB / 0.5633 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.3786, allocations: 127.8 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3786, allocations: 3.938 kB / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3786, allocations: 0 / 0.5635 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3786, allocations: 4 kB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.379, allocations: 111.7 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008234/0.3798, allocations: 422.6 kB / 0.564 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.3801, allocations: 78.53 kB / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.3803, allocations: 60.94 kB / 0.5641 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.3803, allocations: 3.984 kB / 0.5641 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3804, allocations: 38.5 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3804, allocations: 0 / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008249/0.3812, allocations: 186.3 kB / 0.5643 GB, free: 240 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.3813, allocations: 59.41 kB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3814, allocations: 121.8 kB / 0.5645 GB, free: 36 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3814, allocations: 25.7 kB / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.3816, allocations: 108.2 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3816, allocations: 27.78 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.3816, allocations: 17.72 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3818, allocations: 322.8 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.382, allocations: 43.89 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.3822, allocations: 54.55 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.3825, allocations: 102.7 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3825, allocations: 4 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004302/0.3829, allocations: 142.3 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.383, allocations: 11.94 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.383, allocations: 3.984 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.3831, allocations: 20.86 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3833, allocations: 19.97 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.3846, allocations: 1.295 MB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3847, allocations: 15.95 kB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3847, allocations: 8 kB / 0.5666 GB, free: 13.65 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.0001151/0.3848, allocations: 113.8 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.3848, allocations: 15.88 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.3849, allocations: 8.375 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3849, allocations: 0 / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3849, allocations: 0 / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3849, allocations: 8.203 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/0.3856, allocations: 387.1 kB / 0.5672 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3856, allocations: 4 kB / 0.5672 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.3857, allocations: 15.97 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.329e-05/0.3857, allocations: 24.84 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3857, allocations: 128 / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.3868, allocations: 1.299 MB / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3868, allocations: 0 / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.3873, allocations: 245 kB / 0.5687 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.3873, allocations: 7.953 kB / 0.5687 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.3873, allocations: 7.984 kB / 0.5687 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3874, allocations: 16.05 kB / 0.5687 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3875, allocations: 7.984 kB / 0.5687 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.3875, allocations: 4 kB / 0.5687 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.893e-05/0.3875, allocations: 95.2 kB / 0.5688 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3875, allocations: 0 / 0.5688 GB, free: 11.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.3878, allocations: 31.89 kB / 0.5689 GB, free: 11.18 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.0008108/0.3886, allocations: 0.7641 MB / 0.5696 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005404/0.3892, allocations: 206.5 kB / 0.5698 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3892, allocations: 0 / 0.5698 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.3894, allocations: 158.8 kB / 0.57 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3898, allocations: 16.58 kB / 0.57 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.392, allocations: 1.607 MB / 0.5715 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.408e-05/0.3921, allocations: 85.31 kB / 0.5716 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.967e-05/0.3922, allocations: 11.73 kB / 0.5716 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.3922, allocations: 23.44 kB / 0.5717 GB, free: 8.137 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3922, allocations: 0 / 0.5717 GB, free: 8.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.426, allocations: 2.927 MB / 0.5745 GB, free: 5.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.03, allocations: 7.688 kB / 0.5745 GB, free: 5.344 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.143576263915747]