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.002022/0.002022, 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 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.002323/0.002323, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.546/1.546, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2284/0.2284, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.00221/0.00221, allocations: 75.88 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3048, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003607/0.3084, allocations: 1.701 MB / 0.5635 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.3086, allocations: 87.61 kB / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.3087, allocations: 4 kB / 0.5635 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.496e-05/0.3088, allocations: 15.86 kB / 0.5636 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.949e-05/0.3089, allocations: 27.77 kB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.309, allocations: 23.97 kB / 0.5636 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.3091, allocations: 107.6 kB / 0.5637 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.3093, allocations: 39.97 kB / 0.5637 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.3094, allocations: 47.84 kB / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.3095, allocations: 43.77 kB / 0.5638 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.3095, allocations: 12 kB / 0.5638 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.3095, allocations: 12 kB / 0.5639 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.3095, allocations: 23.91 kB / 0.5639 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.3096, allocations: 39.86 kB / 0.5639 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3098, allocations: 117.9 kB / 0.564 GB, free: 1.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3098, allocations: 0 / 0.564 GB, free: 1.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3098, allocations: 0 / 0.564 GB, free: 1.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3098, allocations: 0 / 0.564 GB, free: 1.879 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.0006719/0.3105, allocations: 349.9 kB / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3105, allocations: 8.031 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.3106, allocations: 12.88 kB / 0.5644 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3107, allocations: 122.4 kB / 0.5645 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3107, allocations: 8.375 kB / 0.5645 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.3107, allocations: 12.38 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.3111, allocations: 119.8 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3111, allocations: 192 / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3111, allocations: 11.94 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3111, allocations: 3.938 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.3115, allocations: 115.7 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007937/0.3123, allocations: 391.1 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.3126, allocations: 74.53 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.3128, allocations: 64.92 kB / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.3128, allocations: 0 / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.3129, allocations: 38.5 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3129, allocations: 0 / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000851/0.3137, allocations: 190.3 kB / 0.5655 GB, free: 264 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3138, allocations: 55.41 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3139, allocations: 117.7 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3139, allocations: 29.7 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.314, allocations: 112 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.314, allocations: 15.8 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3141, allocations: 21.7 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3142, allocations: 318.8 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3144, allocations: 35.95 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.3146, allocations: 58.53 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.315, allocations: 98.45 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.315, allocations: 256 / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004429/0.3154, allocations: 158.3 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3154, allocations: 4 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3154, allocations: 0 / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.3156, allocations: 24.84 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3157, allocations: 15.98 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.317, allocations: 1.276 MB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3171, allocations: 16.14 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3171, allocations: 4 kB / 0.5678 GB, free: 13.73 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.0001159/0.3172, allocations: 117.8 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.3172, allocations: 7.953 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.3173, allocations: 16.25 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3173, allocations: 0 / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3173, allocations: 4 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3173, allocations: 0 / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/0.318, allocations: 359.7 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.318, allocations: 7.938 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.3181, allocations: 11.98 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/0.3181, allocations: 24.84 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3181, allocations: 0 / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.3193, allocations: 1.284 MB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3193, allocations: 0 / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.3198, allocations: 241.1 kB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.3198, allocations: 11.89 kB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.3198, allocations: 8 kB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3199, allocations: 8.359 kB / 0.5698 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.32, allocations: 12.05 kB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.32, allocations: 4 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.981e-05/0.32, allocations: 95.2 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.32, allocations: 0 / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000283/0.3203, allocations: 27.94 kB / 0.5699 GB, free: 11.33 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.0001088/0.3204, allocations: 91.25 kB / 0.57 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.321, allocations: 202.5 kB / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.321, allocations: 0 / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.3213, allocations: 166.5 kB / 0.5704 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.3217, allocations: 11.94 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.3224, allocations: 247.2 kB / 0.5706 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.3225, allocations: 85.31 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.3225, allocations: 7.438 kB / 0.5707 GB, free: 10.44 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3225, allocations: 0 / 0.5707 GB, free: 10.44 MB / 414.1 MB Notification: Performance of Templates: time 0.003976/0.3265, allocations: 1.625 MB / 0.5723 GB, free: 8.816 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: 7.993048558942974]