Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001935/0.001935, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002228/0.002228, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.634/1.634, allocations: 230.3 MB / 258 MB, free: 8.242 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.2951/0.2951, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 79.88 kB / 0.497 GB, free: 7.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3763, allocations: 66.03 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004611/0.3809, allocations: 2.52 MB / 0.564 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.383, allocations: 1.113 MB / 0.5651 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.3832, allocations: 4 kB / 0.5651 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.3846, allocations: 0.5089 MB / 0.5656 GB, free: 484 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.385, allocations: 103.3 kB / 0.5657 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.386, allocations: 494.1 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.3864, allocations: 223 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.387, allocations: 214.3 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.3872, allocations: 107.6 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3874, allocations: 119.5 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.3875, allocations: 24 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.3879, allocations: 155.8 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.3879, allocations: 47.8 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.3881, allocations: 115.5 kB / 0.5671 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.3886, allocations: 405.4 kB / 0.5675 GB, free: 14.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3886, allocations: 4 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3886, allocations: 0 / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3886, allocations: 0 / 0.5675 GB, free: 14.5 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.001394/0.39, allocations: 0.5443 MB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3901, allocations: 12.02 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.3904, allocations: 52.77 kB / 0.5681 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3906, allocations: 142.1 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.3906, allocations: 20.88 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.3907, allocations: 28.36 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.3913, allocations: 290.9 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3913, allocations: 0 / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.3915, allocations: 12 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3915, allocations: 8 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.3921, allocations: 233.5 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.3938, allocations: 0.93 MB / 0.5697 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.3943, allocations: 197 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.3947, allocations: 133.6 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.3948, allocations: 16 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.3949, allocations: 34.55 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.983e-06/0.3949, allocations: 0 / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001264/0.3961, allocations: 353.8 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.3962, allocations: 81.05 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3964, allocations: 145.9 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.3964, allocations: 29.7 kB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3965, allocations: 148.3 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.319e-05/0.3966, allocations: 71.33 kB / 0.5708 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.3967, allocations: 41.7 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3968, allocations: 322.8 kB / 0.5712 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.3971, allocations: 67.95 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.3974, allocations: 122 kB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.3979, allocations: 212.1 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3979, allocations: 4.109 kB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007924/0.3987, allocations: 282.9 kB / 0.5718 GB, free: 9.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3987, allocations: 8 kB / 0.5719 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3987, allocations: 3.984 kB / 0.5719 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/0.399, allocations: 53.88 kB / 0.5719 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.3992, allocations: 39.91 kB / 0.5719 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.4015, allocations: 2.633 MB / 0.5745 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.4017, allocations: 35.81 kB / 0.5746 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.4017, allocations: 4 kB / 0.5746 GB, free: 6.738 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.0001826/0.4019, allocations: 147 kB / 0.5747 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.4019, allocations: 7.953 kB / 0.5747 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009063/0.4028, allocations: 266.1 kB / 0.575 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.4028, allocations: 4 kB / 0.575 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4028, allocations: 0 / 0.575 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.4029, allocations: 7.984 kB / 0.575 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.4043, allocations: 0.6131 MB / 0.5756 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.4043, allocations: 7.938 kB / 0.5756 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.4045, allocations: 39.97 kB / 0.5756 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.4047, allocations: 53.69 kB / 0.5757 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.4047, allocations: 4 kB / 0.5757 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.4072, allocations: 2.637 MB / 0.5782 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4072, allocations: 0 / 0.5782 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.4082, allocations: 0.5168 MB / 0.5788 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.4083, allocations: 15.94 kB / 0.5788 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.4083, allocations: 3.984 kB / 0.5788 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.4085, allocations: 15.98 kB / 0.5788 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/0.4086, allocations: 27.97 kB / 0.5788 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.4086, allocations: 4 kB / 0.5788 GB, free: 2.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.4087, allocations: 113.9 kB / 0.5789 GB, free: 1.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4087, allocations: 3.938 kB / 0.5789 GB, free: 1.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006079/0.4093, allocations: 75.78 kB / 0.579 GB, free: 1.848 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.0003262/0.4097, allocations: 127.2 kB / 0.5791 GB, free: 1.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008774/0.4105, allocations: 405.5 kB / 0.5795 GB, free: 1.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4106, allocations: 0 / 0.5795 GB, free: 1.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.411, allocations: 325.2 kB / 0.5798 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4114, allocations: 23.5 kB / 0.5798 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.4125, allocations: 474.6 kB / 0.5803 GB, free: 440 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.413, allocations: 0.7401 MB / 0.581 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.156e-05/0.4131, allocations: 17.42 kB / 0.581 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.4131, allocations: 15.44 kB / 0.581 GB, free: 15.63 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4131, allocations: 0 / 0.581 GB, free: 15.63 MB / 430.1 MB Notification: Performance of Templates: time 0.007264/0.4204, allocations: 2.511 MB / 0.5835 GB, free: 13.12 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.626295409165323]