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.001397/0.001397, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001429/0.001429, allocations: 208.9 kB / 23.73 MB, free: 4.523 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2436/0.2436, allocations: 46.96 MB / 360.9 MB, free: 4.07 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.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.002037/0.002037, allocations: 71.89 kB / 0.4961 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3305, allocations: 66.03 MB / 0.5606 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004121/0.3346, allocations: 2.349 MB / 0.5629 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3367, allocations: 1.028 MB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3368, allocations: 4 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.3381, allocations: 473.9 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.3384, allocations: 111.2 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009631/0.3394, allocations: 454.3 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.3397, allocations: 219 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.3402, allocations: 228.4 kB / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.3404, allocations: 111.6 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.3405, allocations: 123.5 kB / 0.5655 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.3406, allocations: 28 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.3409, allocations: 151.8 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.3409, allocations: 47.84 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.341, allocations: 87.59 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.3416, allocations: 402.5 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3416, allocations: 0 / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3416, allocations: 0 / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3416, allocations: 0 / 0.5662 GB, free: 14.51 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.001343/0.343, allocations: 0.5599 MB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.343, allocations: 12.03 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.538e-05/0.3431, allocations: 62.72 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.3434, allocations: 48.77 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3436, allocations: 130.2 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.3436, allocations: 16.88 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.3436, allocations: 24.38 kB / 0.567 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.3443, allocations: 306.6 kB / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.3443, allocations: 0 / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.3443, allocations: 8 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3443, allocations: 8 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.3449, allocations: 229.5 kB / 0.5676 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3465, allocations: 0.8832 MB / 0.5684 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.3469, allocations: 203.7 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.3473, allocations: 121.7 kB / 0.5687 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.3474, allocations: 15.98 kB / 0.5687 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3474, allocations: 42.56 kB / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.3474, allocations: 0 / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0012/0.3486, allocations: 359.3 kB / 0.5691 GB, free: 11.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3487, allocations: 77.11 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3488, allocations: 144.1 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3488, allocations: 29.7 kB / 0.5694 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.3489, allocations: 148.3 kB / 0.5695 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.349, allocations: 63.44 kB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.3491, allocations: 41.7 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3492, allocations: 322.8 kB / 0.5699 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.3494, allocations: 71.98 kB / 0.57 GB, free: 10.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.3497, allocations: 118 kB / 0.5701 GB, free: 10.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.3501, allocations: 212.8 kB / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3502, allocations: 0 / 0.5703 GB, free: 10.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006887/0.3508, allocations: 283 kB / 0.5706 GB, free: 9.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3509, allocations: 8 kB / 0.5706 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3509, allocations: 0 / 0.5706 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.3511, allocations: 45.81 kB / 0.5706 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3513, allocations: 55.83 kB / 0.5707 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.3536, allocations: 2.629 MB / 0.5732 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.3537, allocations: 31.89 kB / 0.5733 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.3538, allocations: 15.92 kB / 0.5733 GB, free: 6.723 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.0001811/0.3539, allocations: 129.8 kB / 0.5734 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.354, allocations: 11.95 kB / 0.5734 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007379/0.3547, allocations: 264.2 kB / 0.5737 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3547, allocations: 4 kB / 0.5737 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3548, allocations: 0 / 0.5737 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3548, allocations: 3.984 kB / 0.5737 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.356, allocations: 0.6062 MB / 0.5743 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.356, allocations: 0 / 0.5743 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.3562, allocations: 35.97 kB / 0.5743 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.3564, allocations: 45.7 kB / 0.5744 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3564, allocations: 4 kB / 0.5744 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.3587, allocations: 2.629 MB / 0.5769 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3587, allocations: 0 / 0.5769 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.3596, allocations: 0.5272 MB / 0.5774 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.3596, allocations: 16.3 kB / 0.5775 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3597, allocations: 11.98 kB / 0.5775 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3599, allocations: 15.92 kB / 0.5775 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.3599, allocations: 27.89 kB / 0.5775 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3599, allocations: 8 kB / 0.5775 GB, free: 2.047 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.117e-05/0.36, allocations: 109.4 kB / 0.5776 GB, free: 1.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.36, allocations: 0 / 0.5776 GB, free: 1.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.3605, allocations: 71.84 kB / 0.5777 GB, free: 1.871 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.001421/0.362, allocations: 1.081 MB / 0.5787 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008191/0.3628, allocations: 409.1 kB / 0.5791 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3628, allocations: 0 / 0.5791 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.3632, allocations: 330 kB / 0.5795 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3637, allocations: 12 kB / 0.5795 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.3672, allocations: 2.365 MB / 0.5818 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.3673, allocations: 125.2 kB / 0.5819 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.3674, allocations: 13.44 kB / 0.5819 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3675, allocations: 59.41 kB / 0.582 GB, free: 13.25 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3675, allocations: 0 / 0.582 GB, free: 13.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.4064, allocations: 5.099 MB / 0.5869 GB, free: 8.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.29, allocations: 11.58 kB / 0.587 GB, free: 8.285 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.412376658001449]