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.001416/0.001416, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001625/0.001625, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.6/1.6, 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.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.2527/0.2527, allocations: 46.94 MB / 360.8 MB, free: 4.266 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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 72.03 kB / 0.4966 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4175, allocations: 66.03 MB / 0.5611 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.006385/0.4239, allocations: 2.516 MB / 0.5636 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.4269, allocations: 1.114 MB / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.4271, allocations: 4 kB / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.4288, allocations: 0.5056 MB / 0.5652 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.4294, allocations: 107.2 kB / 0.5653 GB, free: 308 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.4308, allocations: 494.2 kB / 0.5657 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.4313, allocations: 218.9 kB / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006917/0.432, allocations: 229.2 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.4324, allocations: 107.6 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.4327, allocations: 123.5 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.4327, allocations: 24 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.4332, allocations: 159.8 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.4333, allocations: 47.84 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.4335, allocations: 111.5 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.4345, allocations: 410.5 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.4345, allocations: 0 / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4345, allocations: 0 / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.4345, allocations: 0 / 0.5671 GB, free: 14.41 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.002028/0.4365, allocations: 0.5482 MB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4366, allocations: 12.03 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005218/0.4371, allocations: 48.77 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.4374, allocations: 138.2 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.4374, allocations: 20.81 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.4375, allocations: 24.38 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009148/0.4384, allocations: 294.9 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.4384, allocations: 0 / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.4384, allocations: 16 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.4385, allocations: 4 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008429/0.4393, allocations: 229.6 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.4416, allocations: 0.9378 MB / 0.5693 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.4423, allocations: 201 kB / 0.5695 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.4428, allocations: 133.7 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.443, allocations: 15.98 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.443, allocations: 30.56 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.993e-06/0.443, allocations: 0 / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001639/0.4446, allocations: 357.7 kB / 0.57 GB, free: 11.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/0.4447, allocations: 85.23 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.4449, allocations: 141.8 kB / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.445, allocations: 29.7 kB / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.4451, allocations: 144.3 kB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/0.4452, allocations: 75.31 kB / 0.5705 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.4453, allocations: 41.7 kB / 0.5705 GB, free: 10.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002934/0.4456, allocations: 318.8 kB / 0.5708 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.4459, allocations: 75.95 kB / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.4463, allocations: 114 kB / 0.571 GB, free: 10.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007755/0.4471, allocations: 208.7 kB / 0.5712 GB, free: 9.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4471, allocations: 3.938 kB / 0.5712 GB, free: 9.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001072/0.4482, allocations: 282.9 kB / 0.5715 GB, free: 9.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.4482, allocations: 10.03 kB / 0.5715 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.4482, allocations: 192 / 0.5715 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.4485, allocations: 49.7 kB / 0.5715 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.4488, allocations: 43.91 kB / 0.5716 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.452, allocations: 2.645 MB / 0.5741 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.4522, allocations: 35.81 kB / 0.5742 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.4522, allocations: 8 kB / 0.5742 GB, free: 6.641 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.0002886/0.4525, allocations: 141.7 kB / 0.5743 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.4526, allocations: 11.95 kB / 0.5743 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009355/0.4535, allocations: 260.2 kB / 0.5746 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4535, allocations: 4 kB / 0.5746 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4536, allocations: 0 / 0.5746 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4536, allocations: 19.86 kB / 0.5746 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.4555, allocations: 0.6062 MB / 0.5752 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.4555, allocations: 11.92 kB / 0.5752 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.4557, allocations: 36.05 kB / 0.5752 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/0.4559, allocations: 45.69 kB / 0.5753 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.4559, allocations: 4 kB / 0.5753 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.4594, allocations: 2.637 MB / 0.5779 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4594, allocations: 0 / 0.5779 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.4609, allocations: 0.5141 MB / 0.5784 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.4609, allocations: 19.92 kB / 0.5784 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.461, allocations: 4.188 kB / 0.5784 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.4612, allocations: 11.98 kB / 0.5784 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4613, allocations: 35.89 kB / 0.5784 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.4613, allocations: 8 kB / 0.5784 GB, free: 1.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.4615, allocations: 109.4 kB / 0.5785 GB, free: 1.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4615, allocations: 0 / 0.5785 GB, free: 1.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007867/0.4623, allocations: 75.78 kB / 0.5786 GB, free: 1.75 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.0003747/0.4626, allocations: 130.9 kB / 0.5787 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.4639, allocations: 408.3 kB / 0.5791 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4639, allocations: 0 / 0.5791 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.4649, allocations: 329.1 kB / 0.5794 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.4656, allocations: 18.41 kB / 0.5795 GB, free: 0.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.4672, allocations: 466.8 kB / 0.5799 GB, free: 348 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.4678, allocations: 0.7401 MB / 0.5806 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.4679, allocations: 13.42 kB / 0.5806 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.468, allocations: 15.44 kB / 0.5807 GB, free: 15.55 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.468, allocations: 0 / 0.5807 GB, free: 15.55 MB / 430.1 MB Notification: Performance of Templates: time 0.01005/0.478, allocations: 2.524 MB / 0.5831 GB, free: 13.02 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/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: 5.721138400956988]