Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001911/0.001911, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002149/0.002149, allocations: 212.4 kB / 23.73 MB, free: 4.41 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2499/0.2499, allocations: 46.97 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] 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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 72.03 kB / 0.4961 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3209, allocations: 66.04 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004012/0.3249, allocations: 2.353 MB / 0.5629 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3268, allocations: 1.024 MB / 0.5639 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3269, allocations: 4 kB / 0.5639 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.3283, allocations: 478 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.3287, allocations: 107.2 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.3297, allocations: 454 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.33, allocations: 227 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004683/0.3305, allocations: 220.4 kB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.3307, allocations: 111.6 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.3309, allocations: 107.5 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.3309, allocations: 24 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.3313, allocations: 143.9 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.3314, allocations: 55.77 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3315, allocations: 87.59 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.3321, allocations: 402.5 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3321, allocations: 0 / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3321, allocations: 0 / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.3321, allocations: 4 kB / 0.5662 GB, free: 14.48 MB / 414.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.001362/0.3334, allocations: 0.556 MB / 0.5667 GB, free: 13.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3335, allocations: 8.031 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.511e-05/0.3336, allocations: 58.73 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/0.3339, allocations: 48.77 kB / 0.5668 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.334, allocations: 138.2 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.3341, allocations: 16.88 kB / 0.567 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.3341, allocations: 24.38 kB / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.3347, allocations: 298.7 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3348, allocations: 3.938 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.3348, allocations: 15.94 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3348, allocations: 4 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.3354, allocations: 225.6 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.337, allocations: 0.8793 MB / 0.5684 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.3375, allocations: 197 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.3378, allocations: 133.7 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.3379, allocations: 16 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.338, allocations: 38.55 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.338, allocations: 0 / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001213/0.3392, allocations: 357.8 kB / 0.5691 GB, free: 11.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3393, allocations: 77.11 kB / 0.5692 GB, free: 11.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3394, allocations: 144.1 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.3394, allocations: 29.7 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3395, allocations: 148.3 kB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.3396, allocations: 67.42 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.3397, allocations: 37.83 kB / 0.5696 GB, free: 10.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3398, allocations: 326.8 kB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.34, allocations: 71.95 kB / 0.57 GB, free: 10.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.3403, allocations: 119.6 kB / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.3408, allocations: 209.8 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3408, allocations: 3.938 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006873/0.3415, allocations: 281.8 kB / 0.5706 GB, free: 9.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3415, allocations: 8 kB / 0.5706 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3415, allocations: 0 / 0.5706 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.3417, allocations: 49.69 kB / 0.5706 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.3419, allocations: 47.91 kB / 0.5707 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.3442, allocations: 2.626 MB / 0.5732 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.3444, allocations: 28.02 kB / 0.5732 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.3444, allocations: 15.88 kB / 0.5733 GB, free: 6.719 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.0001746/0.3446, allocations: 141.8 kB / 0.5734 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.3446, allocations: 7.953 kB / 0.5734 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.3453, allocations: 264.2 kB / 0.5737 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3453, allocations: 4 kB / 0.5737 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3453, allocations: 0 / 0.5737 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3454, allocations: 0 / 0.5737 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.3466, allocations: 0.5984 MB / 0.5742 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.3466, allocations: 4 kB / 0.5742 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.3468, allocations: 39.91 kB / 0.5743 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.3469, allocations: 49.73 kB / 0.5743 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.3469, allocations: 7.984 kB / 0.5743 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.3492, allocations: 2.629 MB / 0.5769 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3492, allocations: 4.031 kB / 0.5769 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3503, allocations: 0.5207 MB / 0.5774 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.3503, allocations: 15.92 kB / 0.5774 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3503, allocations: 4 kB / 0.5774 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3505, allocations: 19.91 kB / 0.5775 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.3506, allocations: 23.91 kB / 0.5775 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3506, allocations: 8 kB / 0.5775 GB, free: 2.039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.61e-05/0.3507, allocations: 105.5 kB / 0.5776 GB, free: 1.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3507, allocations: 0 / 0.5776 GB, free: 1.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004822/0.3512, allocations: 79.89 kB / 0.5777 GB, free: 1.859 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.001451/0.3526, allocations: 1.073 MB / 0.5787 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007942/0.3534, allocations: 417.4 kB / 0.5791 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3534, allocations: 0 / 0.5791 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.3539, allocations: 324.3 kB / 0.5794 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.3544, allocations: 23.92 kB / 0.5794 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.3582, allocations: 2.357 MB / 0.5817 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.3584, allocations: 121.2 kB / 0.5819 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.39e-05/0.3585, allocations: 21.36 kB / 0.5819 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.3586, allocations: 59.41 kB / 0.5819 GB, free: 13.23 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3586, allocations: 0 / 0.5819 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/0.409, allocations: 5.028 MB / 0.5868 GB, free: 8.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.16, allocations: 14.28 kB / 0.5869 GB, free: 8.34 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.244391446001828]