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.00168/0.00168, 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.00198/0.00198, 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2199/0.2199, allocations: 44.92 MB / 358.8 MB, free: 6.355 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_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.003316/0.003316, allocations: 67.89 kB / 0.4931 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.303, allocations: 65.48 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003991/0.307, allocations: 2.501 MB / 0.5595 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3088, allocations: 1.117 MB / 0.5606 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.3089, allocations: 4 kB / 0.5606 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.3103, allocations: 0.5134 MB / 0.5611 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.3105, allocations: 107.2 kB / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009411/0.3115, allocations: 490.1 kB / 0.5616 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.3118, allocations: 231 kB / 0.5618 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.3122, allocations: 224.3 kB / 0.5621 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.3124, allocations: 107.7 kB / 0.5622 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.3126, allocations: 127.5 kB / 0.5623 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.3126, allocations: 20 kB / 0.5623 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.3129, allocations: 155.8 kB / 0.5625 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.313, allocations: 47.83 kB / 0.5625 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3131, allocations: 111.5 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005342/0.3136, allocations: 410.4 kB / 0.563 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3136, allocations: 0 / 0.563 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3136, allocations: 0 / 0.563 GB, free: 1.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.3136, allocations: 0 / 0.563 GB, free: 1.617 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.001306/0.3149, allocations: 0.556 MB / 0.5635 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.315, allocations: 12.03 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.075e-05/0.315, allocations: 58.73 kB / 0.5636 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/0.3153, allocations: 48.77 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3155, allocations: 134.2 kB / 0.5638 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3155, allocations: 16.88 kB / 0.5638 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.3156, allocations: 28.38 kB / 0.5638 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.3162, allocations: 294.7 kB / 0.5641 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.3162, allocations: 4 kB / 0.5641 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.3162, allocations: 4 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3162, allocations: 8 kB / 0.5641 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.3168, allocations: 229.6 kB / 0.5643 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.3183, allocations: 0.9377 MB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.3188, allocations: 213 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.3191, allocations: 121.7 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.3192, allocations: 15.98 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3193, allocations: 42.56 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.3193, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001156/0.3204, allocations: 353.7 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.3205, allocations: 81.11 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3206, allocations: 144.3 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3207, allocations: 25.7 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3208, allocations: 152.4 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.3208, allocations: 71.38 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/0.3209, allocations: 37.7 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3211, allocations: 326.8 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.3213, allocations: 64.06 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.3216, allocations: 133.5 kB / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.3221, allocations: 200.5 kB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3221, allocations: 4 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007019/0.3228, allocations: 278.9 kB / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3228, allocations: 4 kB / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3228, allocations: 4 kB / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.323, allocations: 49.69 kB / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.3232, allocations: 44.09 kB / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.3255, allocations: 2.645 MB / 0.5701 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.3257, allocations: 31.86 kB / 0.5701 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.3257, allocations: 16 kB / 0.5701 GB, free: 9.773 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.0001427/0.3258, allocations: 137.8 kB / 0.5703 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.3259, allocations: 11.95 kB / 0.5703 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/0.3265, allocations: 268.2 kB / 0.5705 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3265, allocations: 4 kB / 0.5705 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3265, allocations: 0 / 0.5705 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3266, allocations: 0 / 0.5705 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.3277, allocations: 0.6257 MB / 0.5712 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3277, allocations: 0 / 0.5712 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.3279, allocations: 31.97 kB / 0.5712 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.328, allocations: 49.69 kB / 0.5712 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.328, allocations: 8.062 kB / 0.5712 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.3302, allocations: 2.637 MB / 0.5738 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3302, allocations: 0 / 0.5738 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000933/0.3311, allocations: 0.5193 MB / 0.5743 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.3312, allocations: 15.94 kB / 0.5743 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3312, allocations: 7.938 kB / 0.5743 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.3314, allocations: 23.91 kB / 0.5744 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.3315, allocations: 23.91 kB / 0.5744 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3315, allocations: 4 kB / 0.5744 GB, free: 5.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.652e-05/0.3315, allocations: 105.5 kB / 0.5745 GB, free: 4.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3316, allocations: 4 kB / 0.5745 GB, free: 4.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004401/0.332, allocations: 75.83 kB / 0.5746 GB, free: 4.891 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.00137/0.3334, allocations: 1.082 MB / 0.5756 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000764/0.3341, allocations: 409.4 kB / 0.576 GB, free: 3.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3341, allocations: 4 kB / 0.576 GB, free: 3.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.3346, allocations: 325.1 kB / 0.5763 GB, free: 2.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.335, allocations: 18.22 kB / 0.5764 GB, free: 2.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.3385, allocations: 2.359 MB / 0.5787 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.3389, allocations: 0.7323 MB / 0.5794 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.6e-05/0.339, allocations: 21.41 kB / 0.5794 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.3391, allocations: 63.41 kB / 0.5795 GB, free: 15.64 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3391, allocations: 0 / 0.5795 GB, free: 15.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.3774, allocations: 4.591 MB / 0.5839 GB, free: 11.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.08, allocations: 10.58 kB / 0.5839 GB, free: 11.17 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.104689115891233]