Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00593/0.00593, allocations: 105.7 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 215.9 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 230.5 MB / 258.9 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2204/0.2204, allocations: 46.93 MB / 362.3 MB, free: 4.203 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 79.86 kB / 0.4982 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3314, allocations: 66.07 MB / 0.5627 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003843/0.3353, allocations: 2.527 MB / 0.5652 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3369, allocations: 1.11 MB / 0.5663 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.337, allocations: 8 kB / 0.5663 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.3382, allocations: 0.4901 MB / 0.5667 GB, free: 136 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.3385, allocations: 115.2 kB / 0.5669 GB, free: 20 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009468/0.3394, allocations: 498.1 kB / 0.5673 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.3397, allocations: 223 kB / 0.5675 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.3401, allocations: 229.2 kB / 0.5678 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3403, allocations: 103.6 kB / 0.5679 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.3405, allocations: 119.5 kB / 0.568 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.3405, allocations: 20 kB / 0.568 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.3408, allocations: 167.8 kB / 0.5682 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.3409, allocations: 47.84 kB / 0.5682 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.341, allocations: 111.5 kB / 0.5683 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005055/0.3415, allocations: 406.3 kB / 0.5687 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3415, allocations: 4 kB / 0.5687 GB, free: 14.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3415, allocations: 0 / 0.5687 GB, free: 14.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3415, allocations: 0 / 0.5687 GB, free: 14.13 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.001245/0.3427, allocations: 0.5443 MB / 0.5692 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3428, allocations: 11.97 kB / 0.5692 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/0.3431, allocations: 60.77 kB / 0.5693 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3432, allocations: 134.2 kB / 0.5694 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.3433, allocations: 16.88 kB / 0.5694 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/0.3433, allocations: 28.31 kB / 0.5695 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.3439, allocations: 294.9 kB / 0.5698 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3439, allocations: 0 / 0.5698 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.3439, allocations: 8 kB / 0.5698 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3439, allocations: 15.98 kB / 0.5698 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.3445, allocations: 225.6 kB / 0.57 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.346, allocations: 0.9339 MB / 0.5709 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.3464, allocations: 207.1 kB / 0.5711 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.3468, allocations: 125.7 kB / 0.5712 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.3469, allocations: 15.98 kB / 0.5712 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.3469, allocations: 34.56 kB / 0.5713 GB, free: 11.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.3469, allocations: 0 / 0.5713 GB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001102/0.348, allocations: 359.2 kB / 0.5716 GB, free: 10.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.3481, allocations: 81.23 kB / 0.5717 GB, free: 10.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3482, allocations: 144.3 kB / 0.5718 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.3482, allocations: 33.7 kB / 0.5719 GB, free: 10.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.3483, allocations: 140.4 kB / 0.572 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.3484, allocations: 75.31 kB / 0.5721 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.3485, allocations: 33.72 kB / 0.5721 GB, free: 10.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3486, allocations: 330.8 kB / 0.5724 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.3488, allocations: 67.95 kB / 0.5725 GB, free: 10.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.349, allocations: 121.9 kB / 0.5726 GB, free: 9.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.3495, allocations: 208.6 kB / 0.5728 GB, free: 9.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3495, allocations: 0 / 0.5728 GB, free: 9.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006183/0.3501, allocations: 278.9 kB / 0.5731 GB, free: 9.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3501, allocations: 4.109 kB / 0.5731 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3501, allocations: 7.938 kB / 0.5731 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001965/0.3503, allocations: 53.88 kB / 0.5731 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.3505, allocations: 43.91 kB / 0.5732 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.3527, allocations: 2.641 MB / 0.5757 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3528, allocations: 27.77 kB / 0.5758 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3529, allocations: 15.98 kB / 0.5758 GB, free: 6.359 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.0001506/0.353, allocations: 149.1 kB / 0.5759 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.3531, allocations: 7.953 kB / 0.5759 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.3537, allocations: 262.3 kB / 0.5762 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3537, allocations: 4 kB / 0.5762 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3537, allocations: 0 / 0.5762 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3537, allocations: 0 / 0.5762 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.3549, allocations: 0.6218 MB / 0.5768 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3549, allocations: 3.938 kB / 0.5768 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.355, allocations: 43.97 kB / 0.5768 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.3552, allocations: 45.69 kB / 0.5769 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3552, allocations: 8 kB / 0.5769 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.3572, allocations: 2.638 MB / 0.5795 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3572, allocations: 0 / 0.5795 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008969/0.3581, allocations: 0.5141 MB / 0.58 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.3581, allocations: 15.94 kB / 0.58 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3581, allocations: 4 kB / 0.58 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.3583, allocations: 19.97 kB / 0.58 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.3584, allocations: 31.91 kB / 0.58 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3584, allocations: 4 kB / 0.58 GB, free: 1.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.773e-05/0.3585, allocations: 103.3 kB / 0.5801 GB, free: 1.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3585, allocations: 0 / 0.5801 GB, free: 1.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000435/0.3589, allocations: 79.77 kB / 0.5802 GB, free: 1.473 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.00017/0.3591, allocations: 127.2 kB / 0.5803 GB, free: 1.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006839/0.3598, allocations: 414.9 kB / 0.5807 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.3598, allocations: 0 / 0.5807 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.3602, allocations: 321.2 kB / 0.581 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3606, allocations: 15.92 kB / 0.5811 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008475/0.3614, allocations: 0.4965 MB / 0.5815 GB, free: 20 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.3618, allocations: 0.7361 MB / 0.5823 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.3619, allocations: 15.44 kB / 0.5823 GB, free: 15.24 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3619, allocations: 0 / 0.5823 GB, free: 15.24 MB / 430.1 MB Notification: Performance of Templates: time 0.006595/0.3684, allocations: 4.371 MB / 0.5865 GB, free: 10.86 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 8.156540922122076]