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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001736/0.001736, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 213 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.2 MB / 256.7 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2243/0.2243, allocations: 46.88 MB / 359.9 MB, free: 5.012 MB / 286.1 MB [Timeout remaining time 90] 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.00225/0.00225, allocations: 79.86 kB / 0.4949 GB, free: 8.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3282, allocations: 65.98 MB / 0.5594 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004138/0.3323, allocations: 2.494 MB / 0.5618 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3343, allocations: 1.121 MB / 0.5629 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3344, allocations: 4 kB / 0.5629 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.3358, allocations: 0.5014 MB / 0.5634 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.3361, allocations: 115.2 kB / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009387/0.337, allocations: 490.1 kB / 0.564 GB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.3374, allocations: 223 kB / 0.5642 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.3378, allocations: 205.9 kB / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.338, allocations: 95.7 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3382, allocations: 135.5 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.3382, allocations: 24 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.3386, allocations: 155.9 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.3386, allocations: 47.84 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3387, allocations: 111.5 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.3393, allocations: 405.2 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3393, allocations: 0 / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.578e-06/0.3393, allocations: 4 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3393, allocations: 0 / 0.5653 GB, free: 15.11 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.001306/0.3406, allocations: 0.6236 MB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3407, allocations: 13.47 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.341, allocations: 48.77 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.3412, allocations: 192.1 kB / 0.5662 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3412, allocations: 20.88 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.3412, allocations: 24.38 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.3418, allocations: 295.7 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3419, allocations: 0 / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3419, allocations: 12 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3419, allocations: 4 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005628/0.3425, allocations: 233.6 kB / 0.5667 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.344, allocations: 0.9938 MB / 0.5677 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.3446, allocations: 367.1 kB / 0.5681 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.3449, allocations: 125.7 kB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.3451, allocations: 170.2 kB / 0.5683 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3452, allocations: 34.56 kB / 0.5684 GB, free: 11.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 3.337e-06/0.3452, allocations: 4 kB / 0.5684 GB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001238/0.3464, allocations: 0.4998 MB / 0.5689 GB, free: 11.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.3464, allocations: 81.11 kB / 0.5689 GB, free: 11.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3466, allocations: 144.3 kB / 0.5691 GB, free: 10.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3466, allocations: 25.7 kB / 0.5691 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.3467, allocations: 148.3 kB / 0.5692 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.3468, allocations: 75.38 kB / 0.5693 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.3468, allocations: 37.7 kB / 0.5694 GB, free: 10.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.347, allocations: 326.9 kB / 0.5697 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.3472, allocations: 67.95 kB / 0.5697 GB, free: 10.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.3474, allocations: 125.1 kB / 0.5698 GB, free: 10.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.3479, allocations: 208.5 kB / 0.57 GB, free: 9.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3479, allocations: 0 / 0.57 GB, free: 9.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006317/0.3485, allocations: 279.2 kB / 0.5703 GB, free: 9.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3485, allocations: 7.938 kB / 0.5703 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3485, allocations: 4 kB / 0.5703 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.3487, allocations: 45.69 kB / 0.5704 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.349, allocations: 43.91 kB / 0.5704 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.3512, allocations: 2.845 MB / 0.5732 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.3514, allocations: 35.84 kB / 0.5732 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.3514, allocations: 4 kB / 0.5732 GB, free: 6.297 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.0001526/0.3515, allocations: 141.8 kB / 0.5734 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.3516, allocations: 11.95 kB / 0.5734 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006641/0.3523, allocations: 272.1 kB / 0.5736 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3523, allocations: 0 / 0.5736 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3523, allocations: 4 kB / 0.5736 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3523, allocations: 3.984 kB / 0.5736 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.3534, allocations: 0.6463 MB / 0.5743 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3534, allocations: 7.938 kB / 0.5743 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.3536, allocations: 31.97 kB / 0.5743 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.3538, allocations: 45.7 kB / 0.5744 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3538, allocations: 4 kB / 0.5744 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.3559, allocations: 2.844 MB / 0.5771 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3559, allocations: 3.984 kB / 0.5771 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/0.3568, allocations: 0.5164 MB / 0.5776 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/0.3569, allocations: 89.03 kB / 0.5777 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.3569, allocations: 12.06 kB / 0.5777 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.3571, allocations: 19.92 kB / 0.5778 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.3572, allocations: 23.91 kB / 0.5778 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3572, allocations: 4 kB / 0.5778 GB, free: 1.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.653e-05/0.3573, allocations: 105.1 kB / 0.5779 GB, free: 1.102 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3573, allocations: 0 / 0.5779 GB, free: 1.102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004568/0.3577, allocations: 79.77 kB / 0.578 GB, free: 1.023 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.000219/0.358, allocations: 127.2 kB / 0.5781 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000766/0.3587, allocations: 420.2 kB / 0.5785 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3587, allocations: 3.938 kB / 0.5785 GB, free: 464 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.3591, allocations: 317.8 kB / 0.5788 GB, free: 120 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.3596, allocations: 27.55 kB / 0.5788 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009496/0.3605, allocations: 0.4916 MB / 0.5793 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.3609, allocations: 0.7361 MB / 0.58 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.3609, allocations: 15.44 kB / 0.58 GB, free: 14.79 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3609, allocations: 0 / 0.58 GB, free: 14.79 MB / 430.1 MB Notification: Performance of Templates: time 0.006619/0.3676, allocations: 4.371 MB / 0.5843 GB, free: 10.41 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