Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.00186/0.00186, allocations: 74.03 kB / 21.24 MB, free: 0.5547 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.002109/0.002109, allocations: 160.3 kB / 24.5 MB, free: 3.719 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.487/1.487, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.53 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 53.34 MB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003363/0.1064, allocations: 1.822 MB / 380.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1077, allocations: 0.6739 MB / 381.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1078, allocations: 7.938 kB / 381.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.108, allocations: 23.73 kB / 381.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.1081, allocations: 23.8 kB / 381.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.1085, allocations: 111.7 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.1087, allocations: 143.5 kB / 381.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1089, allocations: 53.88 kB / 381.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.109, allocations: 67.72 kB / 381.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.1091, allocations: 47.7 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.1091, allocations: 8 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.008e-05/0.1092, allocations: 16 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.1093, allocations: 23.92 kB / 381.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.1093, allocations: 47.67 kB / 382 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.1095, allocations: 159.2 kB / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1095, allocations: 4 kB / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1095, allocations: 0 / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1096, allocations: 4 kB / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006013/0.1102, allocations: 381.6 kB / 382.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1102, allocations: 8.031 kB / 382.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.1103, allocations: 20.84 kB / 382.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.1107, allocations: 190.9 kB / 382.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1107, allocations: 16.12 kB / 382.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.1107, allocations: 8 kB / 382.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.1114, allocations: 304 kB / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1114, allocations: 4 kB / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1114, allocations: 0 / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1114, allocations: 11.94 kB / 383.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.1116, allocations: 75.88 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.1121, allocations: 355.1 kB / 383.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.1126, allocations: 213 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.1128, allocations: 104.2 kB / 383.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1128, allocations: 4 kB / 383.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.1129, allocations: 38.56 kB / 383.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.1129, allocations: 3.938 kB / 383.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005733/0.1135, allocations: 221.6 kB / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.1136, allocations: 195.9 kB / 384.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1138, allocations: 183.2 kB / 384.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1138, allocations: 29.7 kB / 384.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/0.1139, allocations: 108.1 kB / 384.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1139, allocations: 11.94 kB / 384.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.1139, allocations: 29.72 kB / 384.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1141, allocations: 330.8 kB / 384.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.1142, allocations: 19.98 kB / 384.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.1144, allocations: 156.2 kB / 385.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.1146, allocations: 169.5 kB / 385.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1146, allocations: 4 kB / 385.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002877/0.1149, allocations: 157.5 kB / 385.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1149, allocations: 11.98 kB / 385.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1149, allocations: 4 kB / 385.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1149, allocations: 7.938 kB / 385.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1151, allocations: 35.92 kB / 385.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1151, allocations: 8 kB / 385.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.1152, allocations: 15.83 kB / 385.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1152, allocations: 8 kB / 385.5 MB, free: 8.621 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.1153, allocations: 142 kB / 385.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.1156, allocations: 141.4 kB / 385.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.1157, allocations: 29.39 kB / 385.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1157, allocations: 4 kB / 385.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1157, allocations: 0.7031 kB / 385.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1157, allocations: 4 kB / 385.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1159, allocations: 141.2 kB / 386 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1159, allocations: 3.984 kB / 386 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.1161, allocations: 40 kB / 386 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1161, allocations: 7.875 kB / 386 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1161, allocations: 8 kB / 386 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1161, allocations: 7.875 kB / 386 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1161, allocations: 4 kB / 386 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.1166, allocations: 352.1 kB / 386.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.1166, allocations: 39.77 kB / 386.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1167, allocations: 3.984 kB / 386.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.1168, allocations: 23.94 kB / 386.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.1169, allocations: 3.984 kB / 386.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1169, allocations: 8 kB / 386.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.117, allocations: 132.4 kB / 386.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.117, allocations: 0 / 386.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.1173, allocations: 20 kB / 386.6 MB, free: 7.457 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001017/0.1174, allocations: 103.2 kB / 386.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.1177, allocations: 111.7 kB / 386.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1177, allocations: 0 / 386.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.1178, allocations: 15.92 kB / 386.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.1184, allocations: 97.14 kB / 386.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1197, allocations: 447.1 kB / 387.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.1198, allocations: 111.2 kB / 387.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.888e-05/0.1199, allocations: 13.48 kB / 387.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.1199, allocations: 24.5 kB / 387.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1199, allocations: 3.938 kB / 387.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of Templates: time 0.004899/0.1248, allocations: 1.898 MB / 389.4 MB, free: 4.613 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.305786675889976]