Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.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.001328/0.001328, 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.001448/0.001448, allocations: 212 kB / 23.54 MB, free: 5.391 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.478/1.478, allocations: 230.2 MB / 256.8 MB, free: 8.633 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.227/0.227, allocations: 46.89 MB / 359.9 MB, free: 4.977 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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Magnetic.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.002293/0.002293, allocations: 83.86 kB / 0.4949 GB, free: 8.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3296, allocations: 65.98 MB / 0.5594 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003156/0.3328, allocations: 1.746 MB / 0.5611 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001704/0.333, allocations: 79.67 kB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.333, allocations: 0 / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.3331, allocations: 15.86 kB / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.3331, allocations: 27.77 kB / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.802e-05/0.3332, allocations: 27.97 kB / 0.5612 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.3334, allocations: 111.6 kB / 0.5613 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.3335, allocations: 39.95 kB / 0.5614 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.3336, allocations: 39.86 kB / 0.5614 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.3337, allocations: 55.7 kB / 0.5615 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.3337, allocations: 12 kB / 0.5615 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.3337, allocations: 12 kB / 0.5615 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.3338, allocations: 27.91 kB / 0.5615 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.3338, allocations: 47.8 kB / 0.5616 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.334, allocations: 118.2 kB / 0.5617 GB, free: 2.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.334, allocations: 4 kB / 0.5617 GB, free: 2.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.334, allocations: 0 / 0.5617 GB, free: 2.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.334, allocations: 0 / 0.5617 GB, free: 2.949 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.0006575/0.3347, allocations: 419 kB / 0.5621 GB, free: 2.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3347, allocations: 12.03 kB / 0.5621 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.3347, allocations: 8.891 kB / 0.5621 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.3349, allocations: 188.2 kB / 0.5623 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3349, allocations: 4.375 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.3349, allocations: 16.3 kB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.3352, allocations: 119.4 kB / 0.5624 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3353, allocations: 4.125 kB / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3353, allocations: 7.938 kB / 0.5624 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3353, allocations: 4 kB / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/0.3356, allocations: 111.8 kB / 0.5625 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.3364, allocations: 475.4 kB / 0.563 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.3366, allocations: 74.53 kB / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.3369, allocations: 64.92 kB / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.3369, allocations: 0 / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.3369, allocations: 38.5 kB / 0.5631 GB, free: 1.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.3369, allocations: 0 / 0.5631 GB, free: 1.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008247/0.3378, allocations: 267.4 kB / 0.5634 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.3378, allocations: 51.41 kB / 0.5635 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3379, allocations: 125.8 kB / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3379, allocations: 25.7 kB / 0.5636 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.338, allocations: 108.2 kB / 0.5637 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.338, allocations: 27.78 kB / 0.5637 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3381, allocations: 17.72 kB / 0.5637 GB, free: 0.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3382, allocations: 322.8 kB / 0.5641 GB, free: 264 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3384, allocations: 31.97 kB / 0.5641 GB, free: 232 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.3385, allocations: 58.53 kB / 0.5641 GB, free: 164 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.3388, allocations: 102.4 kB / 0.5642 GB, free: 52 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3389, allocations: 4.188 kB / 0.5642 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004196/0.3393, allocations: 150.3 kB / 0.5644 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3393, allocations: 8 kB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3393, allocations: 0 / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.3395, allocations: 24.91 kB / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3396, allocations: 19.98 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.3408, allocations: 1.404 MB / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3409, allocations: 16 kB / 0.5658 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3409, allocations: 0 / 0.5658 GB, free: 14.28 MB / 414.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.0001097/0.3411, allocations: 117.8 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3411, allocations: 11.83 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.3411, allocations: 16.31 kB / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3411, allocations: 4.062 kB / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3411, allocations: 0 / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3411, allocations: 0 / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000688/0.3418, allocations: 424 kB / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3418, allocations: 0 / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.483e-05/0.3419, allocations: 24 kB / 0.5664 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.906e-05/0.342, allocations: 20.84 kB / 0.5664 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.342, allocations: 8 kB / 0.5664 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.3431, allocations: 1.406 MB / 0.5678 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3431, allocations: 0 / 0.5678 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.3435, allocations: 245.1 kB / 0.568 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.3436, allocations: 85.06 kB / 0.5681 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.3436, allocations: 0 / 0.5681 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3437, allocations: 11.98 kB / 0.5681 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.3438, allocations: 11.98 kB / 0.5681 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3438, allocations: 0 / 0.5681 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.868e-05/0.3439, allocations: 95.27 kB / 0.5682 GB, free: 11.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3439, allocations: 4 kB / 0.5682 GB, free: 11.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3441, allocations: 31.83 kB / 0.5683 GB, free: 11.52 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.0001067/0.3442, allocations: 95.25 kB / 0.5683 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005394/0.3448, allocations: 206.7 kB / 0.5685 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3448, allocations: 0 / 0.5685 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.345, allocations: 162.6 kB / 0.5687 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3453, allocations: 8 kB / 0.5687 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.3458, allocations: 238.7 kB / 0.5689 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3462, allocations: 0.704 MB / 0.5696 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.3462, allocations: 11.44 kB / 0.5696 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3462, allocations: 0 / 0.5696 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Templates: time 0.003616/0.3498, allocations: 1.602 MB / 0.5712 GB, free: 8.414 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches