Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00143/0.00143, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001576/0.001576, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 44.91 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 63.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3074, allocations: 65.48 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003061/0.3105, allocations: 1.746 MB / 0.5587 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001895/0.3107, allocations: 87.66 kB / 0.5588 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.3107, allocations: 8 kB / 0.5588 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.624e-05/0.3108, allocations: 11.86 kB / 0.5588 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.3108, allocations: 19.8 kB / 0.5588 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.567e-05/0.3109, allocations: 27.95 kB / 0.5589 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.3111, allocations: 107.6 kB / 0.559 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3112, allocations: 45.78 kB / 0.559 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.3113, allocations: 47.84 kB / 0.5591 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.3114, allocations: 47.78 kB / 0.5591 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.3114, allocations: 12 kB / 0.5591 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.715e-05/0.3115, allocations: 12 kB / 0.5591 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.3115, allocations: 23.92 kB / 0.5591 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.3115, allocations: 55.78 kB / 0.5592 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.3117, allocations: 111.5 kB / 0.5593 GB, free: 5.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.3117, allocations: 4 kB / 0.5593 GB, free: 5.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3117, allocations: 3.938 kB / 0.5593 GB, free: 5.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3117, allocations: 0 / 0.5593 GB, free: 5.441 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.000619/0.3123, allocations: 349.9 kB / 0.5596 GB, free: 5.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3124, allocations: 8.031 kB / 0.5597 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.3124, allocations: 42.73 kB / 0.5597 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.3125, allocations: 8.891 kB / 0.5597 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3126, allocations: 126.3 kB / 0.5598 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3126, allocations: 12.38 kB / 0.5598 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3126, allocations: 8.375 kB / 0.5598 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.3129, allocations: 118.2 kB / 0.56 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.313, allocations: 11.92 kB / 0.56 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.313, allocations: 4 kB / 0.56 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.313, allocations: 4 kB / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.3133, allocations: 107.7 kB / 0.5601 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007918/0.3141, allocations: 442.5 kB / 0.5605 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3144, allocations: 78.53 kB / 0.5606 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.3146, allocations: 60.94 kB / 0.5606 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3146, allocations: 4 kB / 0.5606 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3147, allocations: 38.48 kB / 0.5607 GB, free: 3.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3147, allocations: 0 / 0.5607 GB, free: 3.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007818/0.3154, allocations: 190.3 kB / 0.5609 GB, free: 3.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3155, allocations: 55.41 kB / 0.5609 GB, free: 3.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3156, allocations: 121.8 kB / 0.561 GB, free: 3.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3156, allocations: 25.7 kB / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.3157, allocations: 108.2 kB / 0.5612 GB, free: 3.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.3157, allocations: 23.8 kB / 0.5612 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.3158, allocations: 17.72 kB / 0.5612 GB, free: 3.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3159, allocations: 318.8 kB / 0.5615 GB, free: 3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.3161, allocations: 43.89 kB / 0.5615 GB, free: 2.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.3162, allocations: 54.55 kB / 0.5616 GB, free: 2.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.3165, allocations: 102.4 kB / 0.5617 GB, free: 2.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3165, allocations: 0 / 0.5617 GB, free: 2.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004239/0.317, allocations: 146.3 kB / 0.5618 GB, free: 2.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.317, allocations: 4 kB / 0.5618 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.317, allocations: 3.984 kB / 0.5618 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.3171, allocations: 20.86 kB / 0.5619 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.3173, allocations: 19.97 kB / 0.5619 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.3184, allocations: 1.307 MB / 0.5632 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3186, allocations: 23.86 kB / 0.5632 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3186, allocations: 3.938 kB / 0.5632 GB, free: 1.125 MB / 398.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.0001102/0.3187, allocations: 117.9 kB / 0.5633 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3187, allocations: 11.89 kB / 0.5633 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.3187, allocations: 12.38 kB / 0.5633 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3187, allocations: 0 / 0.5633 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3187, allocations: 3.984 kB / 0.5633 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.3187, allocations: 144 / 0.5633 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.3194, allocations: 403.1 kB / 0.5637 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3194, allocations: 3.984 kB / 0.5637 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.3195, allocations: 15.98 kB / 0.5637 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.187e-05/0.3196, allocations: 20.84 kB / 0.5637 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3196, allocations: 4 kB / 0.5637 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.3207, allocations: 1.299 MB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3207, allocations: 0 / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.3211, allocations: 241.2 kB / 0.5652 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.3212, allocations: 11.95 kB / 0.5653 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3212, allocations: 4 kB / 0.5653 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3213, allocations: 19.98 kB / 0.5653 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.3213, allocations: 11.97 kB / 0.5653 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3214, allocations: 0 / 0.5653 GB, free: 14.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.552e-05/0.3214, allocations: 99.22 kB / 0.5654 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3214, allocations: 0 / 0.5654 GB, free: 14.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.3217, allocations: 23.89 kB / 0.5654 GB, free: 14.64 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.0007931/0.3225, allocations: 0.7648 MB / 0.5662 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.323, allocations: 210.5 kB / 0.5664 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.323, allocations: 0 / 0.5664 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.3233, allocations: 150.6 kB / 0.5665 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.3236, allocations: 11.94 kB / 0.5665 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.3258, allocations: 1.607 MB / 0.5681 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3262, allocations: 0.7002 MB / 0.5688 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.29e-05/0.3262, allocations: 7.734 kB / 0.5688 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.3263, allocations: 31.36 kB / 0.5688 GB, free: 10.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3263, allocations: 0 / 0.5688 GB, free: 10.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.3625, allocations: 2.457 MB / 0.5712 GB, free: 8.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.89, allocations: 11.12 kB / 0.5712 GB, free: 8.648 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 14.893175198929384]