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.001679/0.001679, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002281/0.002281, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.498/1.498, 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.2311/0.2311, allocations: 46.98 MB / 361.6 MB, free: 4.02 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.00205/0.00205, allocations: 67.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3139, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002955/0.3168, allocations: 1.701 MB / 0.5635 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.317, allocations: 83.72 kB / 0.5635 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.3171, allocations: 3.938 kB / 0.5635 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.114e-05/0.3171, allocations: 11.86 kB / 0.5636 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.3172, allocations: 23.8 kB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.3173, allocations: 31.95 kB / 0.5636 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.3175, allocations: 111.6 kB / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.3176, allocations: 35.97 kB / 0.5637 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.909e-05/0.3177, allocations: 43.86 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.3178, allocations: 55.77 kB / 0.5638 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.3178, allocations: 8 kB / 0.5638 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.334e-05/0.3178, allocations: 12 kB / 0.5639 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.3178, allocations: 23.92 kB / 0.5639 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.3179, allocations: 39.84 kB / 0.5639 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.318, allocations: 125.9 kB / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.318, allocations: 0 / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.318, allocations: 0 / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3181, allocations: 0 / 0.564 GB, free: 1.859 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.0006173/0.3187, allocations: 345.9 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3187, allocations: 8.031 kB / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.3187, allocations: 12.89 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3189, allocations: 122.4 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3189, allocations: 20.25 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.3189, allocations: 8.375 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.3193, allocations: 122.2 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3193, allocations: 192 / 0.5647 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.3193, allocations: 7.938 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3193, allocations: 4 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.3197, allocations: 111.8 kB / 0.5648 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.3204, allocations: 387.1 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.3206, allocations: 78.53 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.3209, allocations: 56.94 kB / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.3209, allocations: 4 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3209, allocations: 34.56 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3209, allocations: 0 / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008135/0.3217, allocations: 198.2 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.3218, allocations: 51.41 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.3219, allocations: 113.8 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3219, allocations: 33.69 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.322, allocations: 108 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.322, allocations: 23.8 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3221, allocations: 17.72 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3222, allocations: 314.8 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.3224, allocations: 39.97 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.3225, allocations: 58.47 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.3229, allocations: 94.75 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3229, allocations: 4 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004203/0.3233, allocations: 154.2 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3233, allocations: 10.66 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3233, allocations: 0 / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.3234, allocations: 24.84 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3236, allocations: 19.97 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.3246, allocations: 1.276 MB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3247, allocations: 11.98 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3247, allocations: 384 / 0.5678 GB, free: 13.72 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.252e-05/0.3248, allocations: 117.8 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.3249, allocations: 7.953 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.3249, allocations: 16.25 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3249, allocations: 12 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3249, allocations: 3.984 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3249, allocations: 0 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006425/0.3255, allocations: 351.7 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3255, allocations: 0 / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.976e-05/0.3256, allocations: 24.05 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.63e-05/0.3257, allocations: 28.86 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3257, allocations: 4 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.3268, allocations: 1.272 MB / 0.5696 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3268, allocations: 4.031 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.3273, allocations: 233.1 kB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.3273, allocations: 19.95 kB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.3273, allocations: 0 / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3274, allocations: 15.97 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.3275, allocations: 11.98 kB / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3275, allocations: 0 / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.06e-05/0.3275, allocations: 87.28 kB / 0.5699 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3275, allocations: 0 / 0.5699 GB, free: 11.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3278, allocations: 23.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.0001167/0.3279, allocations: 103.2 kB / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005305/0.3284, allocations: 202.5 kB / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3284, allocations: 0 / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.3287, allocations: 158.8 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.329, allocations: 15.94 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.3295, allocations: 221.2 kB / 0.5706 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.3295, allocations: 81.33 kB / 0.5707 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.401e-05/0.3296, allocations: 7.75 kB / 0.5707 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.3296, allocations: 11.86 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3296, allocations: 0 / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Templates: time 0.003953/0.3336, allocations: 1.248 MB / 0.5719 GB, free: 9.219 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 -s gbode -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: 4.927385609000339]