Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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.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(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 114.2 kB / 17.09 MB, free: 6.004 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.001642/0.001642, allocations: 194.2 kB / 18.02 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2053/0.2053, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 67.91 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.1003, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.002153/0.1025, allocations: 0.8109 MB / 0.4893 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002211/0.1028, allocations: 51.77 kB / 0.4894 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.1029, allocations: 0 / 0.4894 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.103, allocations: 15.86 kB / 0.4894 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.592e-05/0.103, allocations: 3.984 kB / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.1032, allocations: 15.98 kB / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.1033, allocations: 39.92 kB / 0.4895 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1034, allocations: 19.97 kB / 0.4895 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.1034, allocations: 11.94 kB / 0.4895 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.186e-05/0.1035, allocations: 19.86 kB / 0.4895 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1035, allocations: 4 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.1035, allocations: 0 / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.1035, allocations: 15.92 kB / 0.4895 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.1036, allocations: 19.86 kB / 0.4895 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1037, allocations: 31.84 kB / 0.4896 GB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1037, allocations: 0 / 0.4896 GB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1037, allocations: 4 kB / 0.4896 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1037, allocations: 0 / 0.4896 GB, free: 10.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004208/0.1042, allocations: 351.3 kB / 0.4899 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1042, allocations: 11.89 kB / 0.4899 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1043, allocations: 8.891 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1045, allocations: 176.4 kB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1045, allocations: 12.3 kB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1045, allocations: 8.375 kB / 0.4901 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1047, allocations: 50.25 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1047, allocations: 192 / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1047, allocations: 7.938 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1047, allocations: 3.938 kB / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.1047, allocations: 15.98 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.1052, allocations: 292.6 kB / 0.4905 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.1053, allocations: 34.62 kB / 0.4905 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.1053, allocations: 4.859 kB / 0.4905 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.1053, allocations: 0 / 0.4905 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.54e-05/0.1054, allocations: 51.41 kB / 0.4906 GB, free: 9.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.1055, allocations: 0 / 0.4906 GB, free: 9.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001382/0.1056, allocations: 53.7 kB / 0.4906 GB, free: 9.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.1056, allocations: 59.41 kB / 0.4907 GB, free: 9.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.1057, allocations: 113.8 kB / 0.4908 GB, free: 9.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1058, allocations: 29.7 kB / 0.4908 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.1058, allocations: 92.09 kB / 0.4909 GB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.1058, allocations: 7.938 kB / 0.4909 GB, free: 9.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.1059, allocations: 17.72 kB / 0.4909 GB, free: 9.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.106, allocations: 314.8 kB / 0.4912 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.106, allocations: 11.98 kB / 0.4912 GB, free: 8.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.106, allocations: 17.75 kB / 0.4912 GB, free: 8.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.1061, allocations: 37.66 kB / 0.4913 GB, free: 8.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1061, allocations: 0 / 0.4913 GB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.091e-05/0.1062, allocations: 53.58 kB / 0.4913 GB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1062, allocations: 8 kB / 0.4913 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1062, allocations: 0 / 0.4913 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1062, allocations: 0 / 0.4913 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.311e-05/0.1063, allocations: 4 kB / 0.4913 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1063, allocations: 3.984 kB / 0.4913 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.1063, allocations: 12.02 kB / 0.4914 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.1063, allocations: 0 / 0.4914 GB, free: 8.707 MB / 382.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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.722e-05/0.1064, allocations: 121.7 kB / 0.4915 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.1064, allocations: 0 / 0.4915 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.1065, allocations: 11.91 kB / 0.4915 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1065, allocations: 0 / 0.4915 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1065, allocations: 0 / 0.4915 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.1065, allocations: 81.06 kB / 0.4916 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1066, allocations: 7.922 kB / 0.4916 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.587e-05/0.1066, allocations: 11.94 kB / 0.4916 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.1066, allocations: 0 / 0.4916 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001501/0.1068, allocations: 128.9 kB / 0.4917 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001734/0.107, allocations: 230.8 kB / 0.4919 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.954e-05/0.107, allocations: 11.97 kB / 0.4919 GB, free: 8.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.845e-05/0.1071, allocations: 99.52 kB / 0.492 GB, free: 7.957 MB / 382.1 MB Notification: Performance of Backend: time 4.01e-07/0.1071, allocations: 4.062 kB / 0.492 GB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.1074, allocations: 89.05 kB / 0.4921 GB, free: 7.863 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005087/0.1079, allocations: 0.6037 MB / 0.4927 GB, free: 7.215 MB / 382.1 MB Notification: Performance of Templates: time 0.002611/0.1105, allocations: 0.5727 MB / 0.4933 GB, free: 6.645 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches