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.002091/0.002091, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002383/0.002383, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2455/0.2455, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.002046/0.002046, allocations: 67.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3754, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003332/0.3787, allocations: 1.695 MB / 0.5622 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.3789, allocations: 79.67 kB / 0.5623 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.3789, allocations: 8 kB / 0.5623 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.62e-05/0.379, allocations: 15.86 kB / 0.5623 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.3791, allocations: 23.78 kB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.3792, allocations: 23.97 kB / 0.5624 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.3793, allocations: 107.6 kB / 0.5625 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.3795, allocations: 49.77 kB / 0.5625 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.3796, allocations: 39.86 kB / 0.5626 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.3797, allocations: 55.77 kB / 0.5626 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.3797, allocations: 12 kB / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.755e-05/0.3797, allocations: 16 kB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.3797, allocations: 19.92 kB / 0.5627 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.3798, allocations: 43.8 kB / 0.5627 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.38, allocations: 115.6 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.38, allocations: 0 / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.38, allocations: 0 / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.38, allocations: 0 / 0.5628 GB, free: 1.922 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.0006221/0.3806, allocations: 353.8 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3806, allocations: 15.97 kB / 0.5632 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.3807, allocations: 42.75 kB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.3807, allocations: 8.891 kB / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3808, allocations: 126.4 kB / 0.5633 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3808, allocations: 4.375 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.3809, allocations: 12.38 kB / 0.5633 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.3812, allocations: 123.8 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3812, allocations: 3.938 kB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3812, allocations: 4 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3812, allocations: 4 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.3816, allocations: 115.8 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.3824, allocations: 414.6 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.3827, allocations: 86.47 kB / 0.5641 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.3829, allocations: 56.94 kB / 0.5641 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.383, allocations: 0 / 0.5641 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.383, allocations: 42.5 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.383, allocations: 0 / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008268/0.3838, allocations: 190.3 kB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3839, allocations: 51.41 kB / 0.5644 GB, free: 140 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.384, allocations: 125.8 kB / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.384, allocations: 25.7 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.3841, allocations: 112.2 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.3841, allocations: 15.8 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.3842, allocations: 21.72 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3843, allocations: 322.8 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.3845, allocations: 39.95 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.3847, allocations: 54.53 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.3851, allocations: 106.4 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3851, allocations: 0 / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005254/0.3856, allocations: 142.4 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3856, allocations: 4 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3856, allocations: 8.062 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.3858, allocations: 20.84 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3859, allocations: 28.16 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.3871, allocations: 1.299 MB / 0.5666 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3872, allocations: 15.92 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3872, allocations: 3.938 kB / 0.5667 GB, free: 13.62 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.0001147/0.3873, allocations: 121.9 kB / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.3874, allocations: 15.88 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.3874, allocations: 12.38 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3874, allocations: 0 / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3874, allocations: 0 / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3874, allocations: 3.938 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.3881, allocations: 383.2 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3881, allocations: 0 / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3882, allocations: 19.97 kB / 0.5672 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.402e-05/0.3883, allocations: 20.84 kB / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.3883, allocations: 8 kB / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.3895, allocations: 1.291 MB / 0.5685 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3895, allocations: 0 / 0.5685 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.3899, allocations: 249.2 kB / 0.5687 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.39, allocations: 11.95 kB / 0.5687 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.39, allocations: 3.984 kB / 0.5687 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3901, allocations: 11.98 kB / 0.5687 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.3902, allocations: 11.98 kB / 0.5688 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3902, allocations: 0 / 0.5688 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.539e-05/0.3902, allocations: 99.2 kB / 0.5688 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3902, allocations: 4 kB / 0.5688 GB, free: 11.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3905, allocations: 31.89 kB / 0.5689 GB, free: 11.14 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.0008579/0.3914, allocations: 0.76 MB / 0.5696 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005513/0.3919, allocations: 206.5 kB / 0.5698 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3919, allocations: 0 / 0.5698 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.3922, allocations: 158.6 kB / 0.57 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3925, allocations: 14.89 kB / 0.57 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.3948, allocations: 1.61 MB / 0.5716 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.368e-05/0.3949, allocations: 77.33 kB / 0.5716 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.337e-05/0.395, allocations: 12.02 kB / 0.5716 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.395, allocations: 19.44 kB / 0.5717 GB, free: 8.117 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.395, allocations: 0 / 0.5717 GB, free: 8.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.429, allocations: 2.966 MB / 0.5746 GB, free: 5.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.16, allocations: 11.55 kB / 0.5746 GB, free: 5.281 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.2474970179901]