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.002056/0.002056, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002518/0.002518, allocations: 201 kB / 23.73 MB, free: 4.379 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2389/0.2389, allocations: 46.96 MB / 360.9 MB, free: 4.031 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: 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.00204/0.00204, allocations: 67.91 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003892/0.3312, allocations: 2.353 MB / 0.5634 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.333, allocations: 1.016 MB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.63e-05/0.333, allocations: 4 kB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.3343, allocations: 481.9 kB / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.3346, allocations: 111.2 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009346/0.3355, allocations: 457.9 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.3359, allocations: 227 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.3363, allocations: 226.2 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3365, allocations: 103.6 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.3367, allocations: 127.5 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.3367, allocations: 24 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.337, allocations: 147.9 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.337, allocations: 55.77 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.3372, allocations: 83.61 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.3377, allocations: 405.3 kB / 0.5667 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3377, allocations: 8 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3377, allocations: 0 / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3377, allocations: 0 / 0.5667 GB, free: 14.36 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.001326/0.339, allocations: 0.5482 MB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3391, allocations: 8.031 kB / 0.5672 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/0.3394, allocations: 52.77 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3395, allocations: 142.1 kB / 0.5674 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.3396, allocations: 24.88 kB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.3396, allocations: 24.38 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.3402, allocations: 290.9 kB / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3402, allocations: 0 / 0.5678 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.3403, allocations: 12 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.3403, allocations: 4 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.3408, allocations: 237.5 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.3423, allocations: 0.8097 MB / 0.5688 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.3427, allocations: 207.7 kB / 0.569 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.3431, allocations: 133.6 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.3432, allocations: 11.98 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3432, allocations: 38.56 kB / 0.5692 GB, free: 11.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.3432, allocations: 0 / 0.5692 GB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.00114/0.3444, allocations: 351.2 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.3444, allocations: 88.98 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3445, allocations: 125.8 kB / 0.5697 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3446, allocations: 29.7 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3447, allocations: 156.3 kB / 0.5699 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.3447, allocations: 63.44 kB / 0.5699 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.3448, allocations: 41.7 kB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.345, allocations: 326.8 kB / 0.5703 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.3452, allocations: 63.95 kB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3454, allocations: 119.6 kB / 0.5705 GB, free: 10.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.3459, allocations: 212.9 kB / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3459, allocations: 0 / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006374/0.3465, allocations: 278.9 kB / 0.5709 GB, free: 9.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3465, allocations: 8 kB / 0.5709 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3465, allocations: 0 / 0.5709 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.3467, allocations: 45.7 kB / 0.571 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3469, allocations: 52.06 kB / 0.571 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.349, allocations: 2.588 MB / 0.5736 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.3491, allocations: 23.88 kB / 0.5736 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3491, allocations: 8 kB / 0.5736 GB, free: 6.824 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.0001361/0.3493, allocations: 145.8 kB / 0.5737 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.3493, allocations: 19.83 kB / 0.5738 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/0.35, allocations: 254.2 kB / 0.574 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.35, allocations: 7.938 kB / 0.574 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.35, allocations: 7.938 kB / 0.574 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.35, allocations: 4 kB / 0.574 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.351, allocations: 0.5523 MB / 0.5746 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.351, allocations: 0 / 0.5746 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.3512, allocations: 35.91 kB / 0.5746 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.3513, allocations: 49.77 kB / 0.5746 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3513, allocations: 7.984 kB / 0.5746 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.3532, allocations: 2.584 MB / 0.5772 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3532, allocations: 4.031 kB / 0.5772 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.3541, allocations: 0.5168 MB / 0.5777 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.3542, allocations: 11.92 kB / 0.5777 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3542, allocations: 8 kB / 0.5777 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3544, allocations: 19.97 kB / 0.5777 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.3544, allocations: 19.97 kB / 0.5777 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3544, allocations: 4 kB / 0.5777 GB, free: 2.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.97e-05/0.3545, allocations: 99.33 kB / 0.5778 GB, free: 2.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3545, allocations: 0 / 0.5778 GB, free: 2.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003973/0.3549, allocations: 79.72 kB / 0.5779 GB, free: 2.102 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.0002032/0.3551, allocations: 127.2 kB / 0.578 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007367/0.3558, allocations: 416 kB / 0.5784 GB, free: 1.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3558, allocations: 0 / 0.5784 GB, free: 1.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.3563, allocations: 325.7 kB / 0.5787 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.3566, allocations: 11.94 kB / 0.5787 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.3575, allocations: 482.3 kB / 0.5792 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.3576, allocations: 121.2 kB / 0.5793 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.473e-05/0.3577, allocations: 17.02 kB / 0.5793 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.3577, allocations: 19.44 kB / 0.5794 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3577, allocations: 4 kB / 0.5794 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of Templates: time 0.006414/0.3641, allocations: 2.624 MB / 0.5819 GB, free: 13.9 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.357177648693323]