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.001343/0.001343, 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.001432/0.001432, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2306/0.2306, allocations: 46.94 MB / 360.9 MB, free: 4.238 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.003123/0.003123, allocations: 67.89 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3425, allocations: 66.03 MB / 0.5606 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004796/0.3473, allocations: 2.509 MB / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.3493, allocations: 1.121 MB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3494, allocations: 4 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.3508, allocations: 0.5018 MB / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.3512, allocations: 107.2 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3522, allocations: 490.1 kB / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.3526, allocations: 231 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.3531, allocations: 228.3 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.3533, allocations: 99.7 kB / 0.5658 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.3535, allocations: 127.5 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.3536, allocations: 27.94 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.354, allocations: 151.9 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.354, allocations: 51.83 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.3542, allocations: 115.5 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006392/0.3548, allocations: 406.4 kB / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3548, allocations: 0 / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3548, allocations: 0 / 0.5666 GB, free: 14.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3548, allocations: 0 / 0.5666 GB, free: 14.31 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.001513/0.3563, allocations: 0.5521 MB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3564, allocations: 12.03 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.356e-05/0.3565, allocations: 58.73 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.3568, allocations: 48.77 kB / 0.5673 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.357, allocations: 138.2 kB / 0.5674 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.357, allocations: 20.88 kB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/0.357, allocations: 24.38 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/0.3577, allocations: 290.7 kB / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3577, allocations: 4 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.3577, allocations: 12 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3578, allocations: 4 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.3584, allocations: 233.5 kB / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.3601, allocations: 0.9378 MB / 0.5689 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.3606, allocations: 204.8 kB / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.3609, allocations: 129.7 kB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.3611, allocations: 19.98 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.3611, allocations: 38.5 kB / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 2.355e-06/0.3611, allocations: 0 / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0012/0.3623, allocations: 354.2 kB / 0.5696 GB, free: 11.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.3624, allocations: 81.11 kB / 0.5697 GB, free: 10.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3625, allocations: 141.8 kB / 0.5698 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3626, allocations: 29.7 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3627, allocations: 140.3 kB / 0.57 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.701e-05/0.3628, allocations: 75.38 kB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.3629, allocations: 41.7 kB / 0.5701 GB, free: 10.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.363, allocations: 318.8 kB / 0.5704 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3632, allocations: 75.95 kB / 0.5705 GB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.3635, allocations: 117.9 kB / 0.5706 GB, free: 10.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.364, allocations: 201 kB / 0.5708 GB, free: 9.793 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.364, allocations: 4.109 kB / 0.5708 GB, free: 9.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006464/0.3646, allocations: 286.8 kB / 0.571 GB, free: 9.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3647, allocations: 8.188 kB / 0.571 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3647, allocations: 4 kB / 0.571 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.3649, allocations: 53.62 kB / 0.5711 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.3651, allocations: 39.97 kB / 0.5711 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.3676, allocations: 2.641 MB / 0.5737 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.3678, allocations: 31.86 kB / 0.5737 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.3678, allocations: 7.938 kB / 0.5738 GB, free: 6.473 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.0001673/0.3679, allocations: 145.7 kB / 0.5739 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.368, allocations: 16.02 kB / 0.5739 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006902/0.3687, allocations: 262.7 kB / 0.5742 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3687, allocations: 0 / 0.5742 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3687, allocations: 8 kB / 0.5742 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3687, allocations: 0 / 0.5742 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.3699, allocations: 0.6178 MB / 0.5748 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3699, allocations: 8.062 kB / 0.5748 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.3701, allocations: 31.97 kB / 0.5748 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/0.3702, allocations: 57.62 kB / 0.5749 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3703, allocations: 0 / 0.5749 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.3725, allocations: 2.629 MB / 0.5774 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.3725, allocations: 4.031 kB / 0.5774 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009718/0.3735, allocations: 0.5179 MB / 0.5779 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.3735, allocations: 12.09 kB / 0.578 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.3736, allocations: 8 kB / 0.578 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3738, allocations: 23.97 kB / 0.578 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.3738, allocations: 23.89 kB / 0.578 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.3738, allocations: 4 kB / 0.578 GB, free: 1.766 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.972e-05/0.3739, allocations: 107.3 kB / 0.5781 GB, free: 1.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3739, allocations: 4 kB / 0.5781 GB, free: 1.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005047/0.3745, allocations: 75.83 kB / 0.5782 GB, free: 1.582 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.001449/0.3759, allocations: 1.08 MB / 0.5792 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007995/0.3767, allocations: 416 kB / 0.5796 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3767, allocations: 0 / 0.5796 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004875/0.3772, allocations: 333.7 kB / 0.58 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.3776, allocations: 11.94 kB / 0.58 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.3813, allocations: 2.365 MB / 0.5823 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.3817, allocations: 0.7283 MB / 0.583 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.838e-05/0.3818, allocations: 17.42 kB / 0.583 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.3819, allocations: 59.41 kB / 0.5831 GB, free: 12.34 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3819, allocations: 0 / 0.5831 GB, free: 12.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.4215, allocations: 4.61 MB / 0.5876 GB, free: 7.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.03, allocations: 2.234 kB / 0.5876 GB, free: 7.863 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.008077760925516]