Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.001859/0.001859, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002534/0.002534, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.598/1.598, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2255/0.2255, allocations: 44.94 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.89 kB / 0.4942 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3335, allocations: 65.48 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003272/0.3367, allocations: 1.691 MB / 0.5598 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.3369, allocations: 83.67 kB / 0.5599 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.337, allocations: 4 kB / 0.5599 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.956e-05/0.337, allocations: 15.8 kB / 0.5599 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.3371, allocations: 23.78 kB / 0.5599 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.3372, allocations: 27.97 kB / 0.56 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.3374, allocations: 119.6 kB / 0.5601 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3376, allocations: 35.95 kB / 0.5601 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.3376, allocations: 35.92 kB / 0.5602 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.3377, allocations: 47.77 kB / 0.5602 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3377, allocations: 12 kB / 0.5602 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.3378, allocations: 12 kB / 0.5602 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.3378, allocations: 23.92 kB / 0.5602 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.3379, allocations: 43.78 kB / 0.5603 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.338, allocations: 117.9 kB / 0.5604 GB, free: 5.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.338, allocations: 0 / 0.5604 GB, free: 5.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.338, allocations: 4 kB / 0.5604 GB, free: 5.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.338, allocations: 0 / 0.5604 GB, free: 5.195 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006862/0.3387, allocations: 353.8 kB / 0.5607 GB, free: 4.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3388, allocations: 8.031 kB / 0.5607 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.3388, allocations: 8.891 kB / 0.5608 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3389, allocations: 126.4 kB / 0.5609 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.339, allocations: 8.375 kB / 0.5609 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.339, allocations: 8.375 kB / 0.5609 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.3393, allocations: 123.8 kB / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3393, allocations: 192 / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3393, allocations: 7.938 kB / 0.561 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3393, allocations: 7.984 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.3397, allocations: 103.8 kB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.3405, allocations: 391.1 kB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.3407, allocations: 78.52 kB / 0.5616 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.341, allocations: 60.94 kB / 0.5616 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.341, allocations: 0 / 0.5616 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.341, allocations: 38.56 kB / 0.5617 GB, free: 3.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.341, allocations: 0 / 0.5617 GB, free: 3.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007995/0.3418, allocations: 194.2 kB / 0.5619 GB, free: 3.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3418, allocations: 55.41 kB / 0.5619 GB, free: 3.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.342, allocations: 113.8 kB / 0.562 GB, free: 3.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.342, allocations: 29.7 kB / 0.562 GB, free: 3.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.3421, allocations: 104 kB / 0.5621 GB, free: 3.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.3421, allocations: 23.78 kB / 0.5622 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.3421, allocations: 21.72 kB / 0.5622 GB, free: 3.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3423, allocations: 314.8 kB / 0.5625 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.3424, allocations: 35.95 kB / 0.5625 GB, free: 2.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.3426, allocations: 66.47 kB / 0.5626 GB, free: 2.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3429, allocations: 94.5 kB / 0.5627 GB, free: 2.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3429, allocations: 384 / 0.5627 GB, free: 2.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004316/0.3434, allocations: 158.5 kB / 0.5628 GB, free: 2.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3434, allocations: 4 kB / 0.5628 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3434, allocations: 8 kB / 0.5628 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.3436, allocations: 24.78 kB / 0.5629 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.3437, allocations: 19.98 kB / 0.5629 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.3449, allocations: 1.276 MB / 0.5641 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.345, allocations: 20 kB / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.345, allocations: 4 kB / 0.5641 GB, free: 1.039 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.3451, allocations: 113.8 kB / 0.5643 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.3451, allocations: 7.953 kB / 0.5643 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.3452, allocations: 12.31 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3452, allocations: 4 kB / 0.5643 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.3452, allocations: 0 / 0.5643 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3452, allocations: 4.062 kB / 0.5643 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.3458, allocations: 359.7 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3458, allocations: 0 / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.3459, allocations: 11.98 kB / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.367e-05/0.346, allocations: 28.78 kB / 0.5647 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.346, allocations: 0 / 0.5647 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.3472, allocations: 1.288 MB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3472, allocations: 0 / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.3477, allocations: 233.2 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.3477, allocations: 11.89 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.3477, allocations: 0 / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3478, allocations: 20.05 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.3479, allocations: 7.922 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3479, allocations: 4 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.348, allocations: 91.27 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.348, allocations: 0 / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.3482, allocations: 27.94 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001158/0.3484, allocations: 94.44 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005508/0.3489, allocations: 210.5 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3489, allocations: 0 / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.3492, allocations: 158.6 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.3495, allocations: 12.16 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.35, allocations: 255 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.035e-05/0.3501, allocations: 85.31 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.3502, allocations: 15.44 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3502, allocations: 0 / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of Templates: time 0.003752/0.3539, allocations: 1.618 MB / 0.5687 GB, free: 12.13 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.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: 8.077260958962142]