Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.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.001593/0.001593, allocations: 109 kB / 20.45 MB, free: 1.492 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.002/0.002, allocations: 211.6 kB / 23.76 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06924/0.06924, allocations: 14.39 MB / 301.2 MB, free: 7.43 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 67.84 kB / 422.6 MB, free: 38.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07645/0.07875, allocations: 52.9 MB / 475.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001916/0.08067, allocations: 0.6861 MB / 476.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.0809, allocations: 67.72 kB / 476.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.08093, allocations: 0 / 476.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.08096, allocations: 7.938 kB / 476.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.08103, allocations: 8 kB / 476.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.08117, allocations: 19.92 kB / 476.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.181e-05/0.08126, allocations: 19.98 kB / 476.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.08136, allocations: 11.98 kB / 476.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.08139, allocations: 8 kB / 476.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.08145, allocations: 19.91 kB / 476.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.08146, allocations: 0 / 476.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.08147, allocations: 4 kB / 476.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.08149, allocations: 7.938 kB / 476.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.08152, allocations: 15.92 kB / 476.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.0816, allocations: 23.86 kB / 476.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.0816, allocations: 0 / 476.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0816, allocations: 0 / 476.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.08161, allocations: 0 / 476.4 MB, free: 0.8867 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004097/0.08202, allocations: 258.3 kB / 476.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.08205, allocations: 12.03 kB / 476.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.08208, allocations: 4.875 kB / 476.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.08223, allocations: 114.5 kB / 476.8 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.08225, allocations: 4.375 kB / 476.8 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.08225, allocations: 384 / 476.8 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.08245, allocations: 72.75 kB / 476.9 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.08246, allocations: 192 / 476.9 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.08248, allocations: 11.92 kB / 476.9 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.08249, allocations: 0 / 476.9 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.08265, allocations: 39.95 kB / 476.9 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.08302, allocations: 232.9 kB / 477.2 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.08323, allocations: 77.06 kB / 477.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.08333, allocations: 33.77 kB / 477.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.08336, allocations: 3.984 kB / 477.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.08339, allocations: 38.48 kB / 477.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.08339, allocations: 0 / 477.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003674/0.08376, allocations: 93.61 kB / 477.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.08384, allocations: 110.7 kB / 477.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.08392, allocations: 101.8 kB / 477.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.08394, allocations: 25.7 kB / 477.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.08399, allocations: 80.39 kB / 477.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.08401, allocations: 15.89 kB / 477.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.08405, allocations: 21.7 kB / 477.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.08418, allocations: 310.8 kB / 478.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.08427, allocations: 20.84 kB / 478.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.08438, allocations: 42.55 kB / 478.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.08454, allocations: 49.66 kB / 478.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.08454, allocations: 0 / 478.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002046/0.08474, allocations: 69.61 kB / 478.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.08476, allocations: 12.05 kB / 478.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.08476, allocations: 4 kB / 478.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.08478, allocations: 0 / 478.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.08486, allocations: 12 kB / 478.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.08487, allocations: 3.938 kB / 478.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.08493, allocations: 11.94 kB / 478.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.08494, allocations: 4 kB / 478.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.952e-05/0.08503, allocations: 88.12 kB / 478.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.306e-05/0.08508, allocations: 26.58 kB / 478.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.79e-05/0.08516, allocations: 29.7 kB / 478.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.31e-07/0.08516, allocations: 0 / 478.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001295/0.08529, allocations: 57.56 kB / 478.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.0853, allocations: 4 kB / 478.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.0853, allocations: 8.094 kB / 478.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-06/0.0853, allocations: 3.938 kB / 478.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-05/0.08535, allocations: 7.984 kB / 478.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-06/0.08535, allocations: 0 / 478.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.08539, allocations: 4 kB / 478.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-06/0.08539, allocations: 0 / 478.5 MB, free: 14.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.824e-05/0.08549, allocations: 184.2 kB / 478.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.08552, allocations: 0 / 478.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.08555, allocations: 23.25 kB / 478.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.08555, allocations: 0 / 478.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.08555, allocations: 7.938 kB / 478.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.08555, allocations: 0 / 478.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.08572, allocations: 136.6 kB / 478.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.08573, allocations: 0 / 478.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.08579, allocations: 11.98 kB / 478.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.08579, allocations: 0 / 478.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.0858, allocations: 0 / 478.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.0858, allocations: 4 kB / 478.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.0858, allocations: 0 / 478.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.08654, allocations: 0.9739 MB / 479.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.08655, allocations: 3.984 kB / 479.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.08657, allocations: 3.984 kB / 479.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.08666, allocations: 11.94 kB / 479.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.0867, allocations: 7.984 kB / 479.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.0867, allocations: 4 kB / 479.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.946e-05/0.08674, allocations: 75.28 kB / 479.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08674, allocations: 0 / 479.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005191/0.08726, allocations: 12 kB / 480 MB, free: 12.98 MB / 350.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 (3): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000104/0.08736, allocations: 91.25 kB / 480 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.08763, allocations: 55.89 kB / 480.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.08763, allocations: 0 / 480.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.08773, allocations: 36.22 kB / 480.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.08794, allocations: 0 / 480.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.08836, allocations: 250.1 kB / 480.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.08868, allocations: 0.6807 MB / 481.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.08871, allocations: 7.438 kB / 481.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.08871, allocations: 0 / 481.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Templates: time 0.002056/0.09077, allocations: 0.6561 MB / 481.7 MB, free: 11.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.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: 6.697042569983751]