Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002277/0.002277, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.64/1.64, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.226/0.226, allocations: 46.96 MB / 361.6 MB, free: 4.023 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3239, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003189/0.3271, allocations: 1.702 MB / 0.5635 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001915/0.3273, allocations: 79.72 kB / 0.5635 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.3274, allocations: 4 kB / 0.5635 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.915e-05/0.3274, allocations: 15.86 kB / 0.5636 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.3275, allocations: 31.72 kB / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.3276, allocations: 23.97 kB / 0.5636 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.3278, allocations: 103.6 kB / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.328, allocations: 43.95 kB / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.328, allocations: 43.84 kB / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.3281, allocations: 55.77 kB / 0.5638 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.3282, allocations: 15.94 kB / 0.5639 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.3282, allocations: 12 kB / 0.5639 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.3282, allocations: 19.92 kB / 0.5639 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.3283, allocations: 43.86 kB / 0.5639 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3284, allocations: 121.9 kB / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3285, allocations: 0 / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3285, allocations: 0 / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.3285, allocations: 0 / 0.564 GB, free: 1.848 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.000672/0.3291, allocations: 345.9 kB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3292, allocations: 8.031 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.3292, allocations: 12.88 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3294, allocations: 122.4 kB / 0.5645 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3294, allocations: 8.375 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.3294, allocations: 12.38 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.3298, allocations: 115.8 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3298, allocations: 4.172 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.3299, allocations: 19.81 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3299, allocations: 0 / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/0.3302, allocations: 111.8 kB / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.331, allocations: 387.1 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.3312, allocations: 78.47 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.3315, allocations: 68.92 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.3315, allocations: 0 / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3315, allocations: 34.56 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.3315, allocations: 0 / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008204/0.3324, allocations: 198.2 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3324, allocations: 51.41 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3325, allocations: 113.8 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3325, allocations: 25.7 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.3326, allocations: 112 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.3326, allocations: 15.8 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.3327, allocations: 21.7 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.3329, allocations: 318.8 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3331, allocations: 39.95 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.3332, allocations: 62.52 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.3336, allocations: 94.45 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3336, allocations: 4 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004095/0.334, allocations: 150.3 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.334, allocations: 4 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3341, allocations: 0 / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.3342, allocations: 28.78 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3343, allocations: 20.05 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.3356, allocations: 1.272 MB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3357, allocations: 16.02 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3357, allocations: 4 kB / 0.5678 GB, free: 13.7 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.0001124/0.3358, allocations: 117.8 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.3358, allocations: 7.953 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.3358, allocations: 16.38 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3358, allocations: 384 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3358, allocations: 4.312 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3359, allocations: 0 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.3365, allocations: 367.6 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3365, allocations: 7.938 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3366, allocations: 16.02 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-05/0.3367, allocations: 28.78 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3367, allocations: 0 / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.338, allocations: 1.272 MB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.338, allocations: 3.938 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.3385, allocations: 241.2 kB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.3385, allocations: 7.891 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.3385, allocations: 4 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3386, allocations: 11.98 kB / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.3387, allocations: 11.92 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.3387, allocations: 4 kB / 0.5698 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.351e-05/0.3387, allocations: 91.27 kB / 0.5699 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3387, allocations: 0 / 0.5699 GB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.339, allocations: 27.94 kB / 0.5699 GB, free: 11.3 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.0001041/0.3391, allocations: 95.25 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.3397, allocations: 202.5 kB / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3397, allocations: 0 / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.3399, allocations: 167 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3403, allocations: 12.06 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.3408, allocations: 242.9 kB / 0.5706 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.3409, allocations: 85.31 kB / 0.5707 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.3409, allocations: 15.44 kB / 0.5707 GB, free: 10.41 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3409, allocations: 0 / 0.5707 GB, free: 10.41 MB / 414.1 MB Notification: Performance of Templates: time 0.003865/0.3448, allocations: 1.61 MB / 0.5723 GB, free: 8.793 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.078171423985623]