Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.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.001859/0.001859, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002202/0.002202, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.92 MB / 359.6 MB, free: 6.301 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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",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.002191/0.002191, allocations: 63.91 kB / 0.4938 GB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3082, allocations: 65.47 MB / 0.5578 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004393/0.3126, allocations: 2.512 MB / 0.5602 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.3147, allocations: 1.113 MB / 0.5613 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.3149, allocations: 12 kB / 0.5613 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.3165, allocations: 0.494 MB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.3168, allocations: 107.2 kB / 0.5619 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3179, allocations: 498.1 kB / 0.5624 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.3183, allocations: 223 kB / 0.5626 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004946/0.3188, allocations: 232.4 kB / 0.5628 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.3191, allocations: 107.6 kB / 0.5629 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.3193, allocations: 123.5 kB / 0.563 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.3193, allocations: 20 kB / 0.5631 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.3197, allocations: 159.8 kB / 0.5632 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.3198, allocations: 47.86 kB / 0.5633 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3199, allocations: 115.5 kB / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006513/0.3206, allocations: 402.5 kB / 0.5638 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3206, allocations: 4 kB / 0.5638 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3206, allocations: 0 / 0.5638 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.3206, allocations: 0 / 0.5638 GB, free: 1.676 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001412/0.322, allocations: 0.556 MB / 0.5643 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.322, allocations: 12.02 kB / 0.5643 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.018e-05/0.3221, allocations: 8.688 kB / 0.5643 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.968e-05/0.3221, allocations: 58.73 kB / 0.5644 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.3225, allocations: 48.77 kB / 0.5644 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3226, allocations: 134.2 kB / 0.5645 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.3226, allocations: 16.88 kB / 0.5646 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.3227, allocations: 24.38 kB / 0.5646 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/0.3233, allocations: 294.5 kB / 0.5649 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3233, allocations: 3.984 kB / 0.5649 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.3234, allocations: 12 kB / 0.5649 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3234, allocations: 8 kB / 0.5649 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.324, allocations: 225.5 kB / 0.5651 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.3256, allocations: 0.9417 MB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.3261, allocations: 211.3 kB / 0.5662 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.3265, allocations: 125.6 kB / 0.5663 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.3266, allocations: 19.98 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3267, allocations: 42.5 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.3267, allocations: 0 / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001237/0.3279, allocations: 343.2 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.3279, allocations: 85.2 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.3281, allocations: 143.8 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3281, allocations: 25.7 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3282, allocations: 148.3 kB / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.3283, allocations: 71.38 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/0.3284, allocations: 45.83 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3285, allocations: 322.8 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.3288, allocations: 67.94 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.329, allocations: 125.9 kB / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.3295, allocations: 200.5 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3295, allocations: 4 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007152/0.3302, allocations: 282.9 kB / 0.5682 GB, free: 12.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3303, allocations: 4 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3303, allocations: 0 / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.3305, allocations: 57.62 kB / 0.5682 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.3307, allocations: 39.97 kB / 0.5683 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.3331, allocations: 2.637 MB / 0.5709 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.3333, allocations: 35.8 kB / 0.5709 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.3333, allocations: 8 kB / 0.5709 GB, free: 9.828 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.3335, allocations: 147.7 kB / 0.571 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.3336, allocations: 11.95 kB / 0.5711 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/0.3343, allocations: 270.5 kB / 0.5713 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3343, allocations: 0 / 0.5713 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3343, allocations: 4 kB / 0.5713 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3343, allocations: 0 / 0.5713 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.3356, allocations: 0.6217 MB / 0.5719 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3356, allocations: 0 / 0.5719 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.3358, allocations: 31.97 kB / 0.572 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001509/0.3359, allocations: 53.64 kB / 0.572 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.3359, allocations: 3.984 kB / 0.572 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.3383, allocations: 2.633 MB / 0.5746 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3383, allocations: 4.031 kB / 0.5746 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3393, allocations: 0.5209 MB / 0.5751 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.3393, allocations: 15.94 kB / 0.5751 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.3393, allocations: 4 kB / 0.5751 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.3395, allocations: 19.92 kB / 0.5751 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.3396, allocations: 27.89 kB / 0.5752 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3396, allocations: 15.88 kB / 0.5752 GB, free: 5.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.3398, allocations: 107.3 kB / 0.5753 GB, free: 5.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3398, allocations: 0 / 0.5753 GB, free: 5.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004938/0.3403, allocations: 75.91 kB / 0.5753 GB, free: 4.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001506/0.3418, allocations: 1.081 MB / 0.5764 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008521/0.3426, allocations: 417 kB / 0.5768 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3426, allocations: 384 / 0.5768 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.3431, allocations: 325.2 kB / 0.5771 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3435, allocations: 11.94 kB / 0.5771 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.3473, allocations: 2.36 MB / 0.5794 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.3477, allocations: 0.7401 MB / 0.5801 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.375e-05/0.3478, allocations: 9.422 kB / 0.5802 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.3479, allocations: 59.42 kB / 0.5802 GB, free: 15.69 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3479, allocations: 0 / 0.5802 GB, free: 15.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03866/0.3866, allocations: 4.638 MB / 0.5847 GB, free: 11.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.31, allocations: 11.2 kB / 0.5848 GB, free: 11.2 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.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.450609823979903]