Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001475, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 51.23 kB / 301.3 MB, free: 5.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 49.44 MB / 350.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004027/0.1096, allocations: 1.851 MB / 352.6 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1111, allocations: 0.6273 MB / 353.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.1114, allocations: 11.88 kB / 353.2 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.1116, allocations: 23.8 kB / 353.2 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1118, allocations: 23.78 kB / 353.3 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.1123, allocations: 103.7 kB / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.1126, allocations: 131.6 kB / 353.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.1128, allocations: 61.7 kB / 353.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1129, allocations: 55.72 kB / 353.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1131, allocations: 55.7 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.1131, allocations: 12 kB / 353.7 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.651e-05/0.1131, allocations: 8 kB / 353.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.1132, allocations: 27.86 kB / 353.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.076e-05/0.1133, allocations: 59.61 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1135, allocations: 139.5 kB / 353.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1136, allocations: 0 / 353.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1136, allocations: 4 kB / 353.9 MB, free: 1.195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1136, allocations: 0 / 353.9 MB, free: 1.195 MB / 286.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.000715/0.1143, allocations: 447.2 kB / 354.3 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1143, allocations: 11.89 kB / 354.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.1144, allocations: 24.66 kB / 354.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.1147, allocations: 233.8 kB / 354.6 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1148, allocations: 20.11 kB / 354.6 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1148, allocations: 12 kB / 354.6 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006288/0.1154, allocations: 276.2 kB / 354.9 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1155, allocations: 3.938 kB / 354.9 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.1155, allocations: 4 kB / 354.9 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1155, allocations: 0 / 354.9 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.1157, allocations: 75.94 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.1163, allocations: 431.3 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.1169, allocations: 298.1 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.1171, allocations: 116.2 kB / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.1171, allocations: 3.984 kB / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.1172, allocations: 42.5 kB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.1172, allocations: 0 / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005845/0.1178, allocations: 217.2 kB / 356.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.1179, allocations: 196 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1181, allocations: 179.1 kB / 356.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.1181, allocations: 29.7 kB / 356.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.1182, allocations: 100.5 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1183, allocations: 19.89 kB / 356.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.1183, allocations: 37.62 kB / 356.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1185, allocations: 318.8 kB / 356.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.1186, allocations: 23.98 kB / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1187, allocations: 133.3 kB / 357.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.1189, allocations: 161.6 kB / 357.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1189, allocations: 0 / 357.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002807/0.1192, allocations: 165.1 kB / 357.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1192, allocations: 11.94 kB / 357.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1193, allocations: 3.984 kB / 357.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1193, allocations: 11.98 kB / 357.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1194, allocations: 40.47 kB / 357.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1194, allocations: 7.938 kB / 357.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1195, allocations: 15.94 kB / 357.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1196, allocations: 8 kB / 357.5 MB, free: 13.14 MB / 302.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.0001146/0.1197, allocations: 141.7 kB / 357.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.12, allocations: 141.6 kB / 357.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.12, allocations: 29.39 kB / 357.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1201, allocations: 96 / 357.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.1201, allocations: 11.97 kB / 357.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1201, allocations: 0 / 357.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.1204, allocations: 213.5 kB / 358 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1204, allocations: 0 / 358 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1205, allocations: 39.91 kB / 358.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.1205, allocations: 3.938 kB / 358.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1206, allocations: 8 kB / 358.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1206, allocations: 4 kB / 358.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1206, allocations: 0 / 358.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.121, allocations: 357 kB / 358.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.938e-05/0.1211, allocations: 112.8 kB / 358.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1211, allocations: 7.938 kB / 358.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1213, allocations: 19.98 kB / 358.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1213, allocations: 4 kB / 358.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1214, allocations: 4 kB / 358.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1215, allocations: 133.2 kB / 358.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1215, allocations: 0 / 358.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.1218, allocations: 20 kB / 358.7 MB, free: 11.8 MB / 302.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.0001281/0.122, allocations: 111.1 kB / 358.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.1223, allocations: 115.8 kB / 359 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1223, allocations: 0 / 359 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.1223, allocations: 11.98 kB / 359 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.1231, allocations: 105.3 kB / 359.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.1241, allocations: 400.4 kB / 359.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1244, allocations: 0.728 MB / 360.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.1244, allocations: 15.44 kB / 360.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of SimCode: time 1.864e-06/0.1244, allocations: 0 / 360.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Templates: time 0.003955/0.1284, allocations: 1.766 MB / 362 MB, free: 8.492 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches