Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.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.001799/0.001799, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002319/0.002319, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.65/1.65, allocations: 230.5 MB / 258.1 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.95 MB / 361.6 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 79.88 kB / 0.4974 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3374, allocations: 66.08 MB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003027/0.3404, allocations: 1.702 MB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001695/0.3406, allocations: 87.67 kB / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.3407, allocations: 0 / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.502e-05/0.3407, allocations: 15.86 kB / 0.5636 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/0.3408, allocations: 19.78 kB / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.682e-05/0.3409, allocations: 23.97 kB / 0.5637 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.341, allocations: 111.6 kB / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3412, allocations: 39.94 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.3412, allocations: 51.86 kB / 0.5639 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.3413, allocations: 43.77 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.3413, allocations: 8 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/0.3414, allocations: 12 kB / 0.5639 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.3414, allocations: 23.92 kB / 0.564 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.3414, allocations: 35.86 kB / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.3416, allocations: 121.9 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3416, allocations: 0 / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3416, allocations: 0 / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.3416, allocations: 0 / 0.5641 GB, free: 1.691 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.000615/0.3422, allocations: 353.9 kB / 0.5645 GB, free: 1.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3423, allocations: 8.031 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.3423, allocations: 12.89 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.3424, allocations: 118.4 kB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3424, allocations: 8.375 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3425, allocations: 8.375 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.3428, allocations: 122.2 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3428, allocations: 192 / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3428, allocations: 7.938 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3428, allocations: 4 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.3432, allocations: 111.7 kB / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.3439, allocations: 399.1 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.3441, allocations: 78.53 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.3443, allocations: 60.86 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.3443, allocations: 4 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3444, allocations: 34.56 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3444, allocations: 0 / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007613/0.3451, allocations: 194.2 kB / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3452, allocations: 55.41 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3453, allocations: 109.8 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3453, allocations: 29.7 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.3454, allocations: 108 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.3454, allocations: 27.78 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3454, allocations: 17.72 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3456, allocations: 310.8 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3457, allocations: 47.89 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.3459, allocations: 50.53 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3462, allocations: 98.5 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3462, allocations: 4 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004052/0.3466, allocations: 150.2 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3466, allocations: 8 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3466, allocations: 320 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.3468, allocations: 24.84 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3469, allocations: 15.98 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.3479, allocations: 1.28 MB / 0.5678 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.348, allocations: 20.12 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.348, allocations: 3.984 kB / 0.5679 GB, free: 13.54 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 9.567e-05/0.3481, allocations: 121.8 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.3481, allocations: 3.953 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.3482, allocations: 16.31 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3482, allocations: 0 / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3482, allocations: 0 / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3482, allocations: 0 / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.3488, allocations: 364 kB / 0.5683 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3488, allocations: 0 / 0.5683 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.3489, allocations: 15.98 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.265e-05/0.3489, allocations: 20.84 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3489, allocations: 11.94 kB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009651/0.3499, allocations: 1.28 MB / 0.5696 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3499, allocations: 4 kB / 0.5696 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.3504, allocations: 233.1 kB / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.3504, allocations: 16.03 kB / 0.5699 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.3504, allocations: 3.984 kB / 0.5699 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3505, allocations: 11.98 kB / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.3505, allocations: 16.05 kB / 0.5699 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3505, allocations: 0 / 0.5699 GB, free: 11.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.306e-05/0.3506, allocations: 91.27 kB / 0.57 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3506, allocations: 0 / 0.57 GB, free: 11.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3508, allocations: 23.94 kB / 0.57 GB, free: 11.15 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.000115/0.351, allocations: 95.25 kB / 0.5701 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.3515, allocations: 210.7 kB / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3515, allocations: 0 / 0.5703 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.3517, allocations: 154.6 kB / 0.5705 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.352, allocations: 14.12 kB / 0.5705 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.3525, allocations: 247 kB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.665e-05/0.3526, allocations: 85.31 kB / 0.5708 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.3526, allocations: 11.44 kB / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3526, allocations: 0 / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of Templates: time 0.0035/0.3561, allocations: 1.632 MB / 0.5724 GB, free: 8.621 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.006020947359502]