Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001693/0.001693, 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.002261/0.002261, allocations: 206.4 kB / 23.72 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2255/0.2255, allocations: 46.95 MB / 360.8 MB, free: 3.91 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.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 79.88 kB / 0.4961 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3164, allocations: 66.09 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003314/0.3197, allocations: 1.691 MB / 0.5623 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002239/0.3199, allocations: 91.64 kB / 0.5624 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.32, allocations: 0 / 0.5624 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.344e-05/0.32, allocations: 7.875 kB / 0.5624 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.3201, allocations: 27.77 kB / 0.5624 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.3202, allocations: 31.95 kB / 0.5625 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.3204, allocations: 111.6 kB / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3206, allocations: 33.8 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.3206, allocations: 43.86 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.3207, allocations: 47.77 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.3207, allocations: 8 kB / 0.5627 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.3208, allocations: 12 kB / 0.5627 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.3208, allocations: 27.91 kB / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.3209, allocations: 35.86 kB / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.3211, allocations: 119.5 kB / 0.5629 GB, free: 1.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3211, allocations: 0 / 0.5629 GB, free: 1.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3211, allocations: 4 kB / 0.5629 GB, free: 1.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.3211, allocations: 0 / 0.5629 GB, free: 1.727 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.0006893/0.3218, allocations: 345.9 kB / 0.5632 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3218, allocations: 8.031 kB / 0.5632 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.3219, allocations: 46.73 kB / 0.5633 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.3219, allocations: 8.891 kB / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.322, allocations: 126.4 kB / 0.5634 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.322, allocations: 12.31 kB / 0.5634 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.322, allocations: 8.375 kB / 0.5634 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.3224, allocations: 122.2 kB / 0.5635 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3224, allocations: 3.938 kB / 0.5636 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3224, allocations: 4 kB / 0.5636 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3224, allocations: 7.938 kB / 0.5636 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.3228, allocations: 107.8 kB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.3236, allocations: 422.6 kB / 0.5641 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.3239, allocations: 74.53 kB / 0.5641 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.3241, allocations: 60.94 kB / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3241, allocations: 8 kB / 0.5642 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3242, allocations: 42.42 kB / 0.5642 GB, free: 208 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3242, allocations: 0 / 0.5642 GB, free: 208 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008825/0.325, allocations: 182.4 kB / 0.5644 GB, free: 16 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.3251, allocations: 59.34 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3252, allocations: 121.8 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3252, allocations: 29.64 kB / 0.5646 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/0.3253, allocations: 108.2 kB / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.3254, allocations: 23.8 kB / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.3254, allocations: 21.7 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3255, allocations: 314.8 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.3257, allocations: 35.95 kB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.3259, allocations: 62.53 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.3262, allocations: 98.39 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3262, allocations: 0 / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004333/0.3266, allocations: 150.3 kB / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3266, allocations: 8 kB / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3267, allocations: 0 / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.3268, allocations: 20.84 kB / 0.5654 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3269, allocations: 19.98 kB / 0.5654 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.3282, allocations: 1.303 MB / 0.5667 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3283, allocations: 19.95 kB / 0.5667 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3283, allocations: 320 / 0.5667 GB, free: 13.44 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.0001785/0.3284, allocations: 125.8 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.3285, allocations: 7.891 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.3285, allocations: 12.38 kB / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3285, allocations: 0 / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3285, allocations: 12 kB / 0.5669 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3285, allocations: 0 / 0.5669 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007621/0.3293, allocations: 387.2 kB / 0.5673 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3293, allocations: 0 / 0.5673 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.3294, allocations: 15.98 kB / 0.5673 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-05/0.3294, allocations: 24.84 kB / 0.5673 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3294, allocations: 4.031 kB / 0.5673 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.3305, allocations: 1.295 MB / 0.5686 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3305, allocations: 0 / 0.5686 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.331, allocations: 241 kB / 0.5688 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.331, allocations: 8 kB / 0.5688 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.331, allocations: 8 kB / 0.5688 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3311, allocations: 11.98 kB / 0.5688 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.3312, allocations: 7.984 kB / 0.5688 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3312, allocations: 4 kB / 0.5688 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.3312, allocations: 99.2 kB / 0.5689 GB, free: 10.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3312, allocations: 0 / 0.5689 GB, free: 10.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.3315, allocations: 27.89 kB / 0.569 GB, free: 10.96 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.0008721/0.3324, allocations: 0.7727 MB / 0.5697 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005309/0.3329, allocations: 202.5 kB / 0.5699 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3329, allocations: 4 kB / 0.5699 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.3332, allocations: 150.8 kB / 0.5701 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.3335, allocations: 15.92 kB / 0.5701 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.3358, allocations: 1.602 MB / 0.5716 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.461e-05/0.3358, allocations: 85.31 kB / 0.5717 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.509e-05/0.3359, allocations: 7.75 kB / 0.5717 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.336, allocations: 27.42 kB / 0.5717 GB, free: 7.926 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.336, allocations: 3.938 kB / 0.5717 GB, free: 7.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.3667, allocations: 2.931 MB / 0.5746 GB, free: 5.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.71, allocations: 15.92 kB / 0.5746 GB, free: 5.086 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 14.680666028987616]