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.001221/0.001221, allocations: 110.1 kB / 17.09 MB, free: 5.961 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.000991/0.000991, allocations: 200.2 kB / 18.02 MB, free: 5.043 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.233/1.233, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.1829/0.1829, allocations: 43.53 MB / 314.8 MB, free: 452 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.001372/0.001372, allocations: 65.47 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08842, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001993/0.09046, allocations: 0.818 MB / 0.4893 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.09066, allocations: 43.83 kB / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.09074, allocations: 0 / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.09084, allocations: 11.86 kB / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.445e-05/0.09088, allocations: 15.94 kB / 0.4894 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.982e-05/0.09098, allocations: 15.92 kB / 0.4894 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.428e-05/0.09108, allocations: 35.91 kB / 0.4895 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.09119, allocations: 19.98 kB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.09122, allocations: 11.94 kB / 0.4895 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.09127, allocations: 15.92 kB / 0.4895 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.09129, allocations: 4 kB / 0.4895 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.0913, allocations: 4 kB / 0.4895 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.09133, allocations: 7.922 kB / 0.4895 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.09136, allocations: 15.94 kB / 0.4895 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.848e-05/0.09147, allocations: 43.83 kB / 0.4896 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09148, allocations: 0 / 0.4896 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09148, allocations: 0 / 0.4896 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.09149, allocations: 0 / 0.4896 GB, free: 10.75 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.0003625/0.09186, allocations: 347.4 kB / 0.4899 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.0919, allocations: 11.89 kB / 0.4899 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.09194, allocations: 4.938 kB / 0.4899 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.09214, allocations: 188.1 kB / 0.4901 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.09216, allocations: 8.375 kB / 0.4901 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.09218, allocations: 4.375 kB / 0.4901 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.09229, allocations: 50.25 kB / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.0923, allocations: 192 / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.09232, allocations: 3.938 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.09233, allocations: 0 / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.09237, allocations: 19.92 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.09281, allocations: 288.7 kB / 0.4905 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.09288, allocations: 38.55 kB / 0.4905 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.0929, allocations: 4.859 kB / 0.4905 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-06/0.09291, allocations: 8 kB / 0.4905 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/0.09298, allocations: 51.34 kB / 0.4906 GB, free: 9.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.09299, allocations: 0 / 0.4906 GB, free: 9.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.00012/0.09311, allocations: 53.59 kB / 0.4906 GB, free: 9.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.09314, allocations: 55.41 kB / 0.4907 GB, free: 9.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.09323, allocations: 113.8 kB / 0.4908 GB, free: 9.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.09324, allocations: 25.7 kB / 0.4908 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.09329, allocations: 88.14 kB / 0.4909 GB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.09331, allocations: 15.83 kB / 0.4909 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.09334, allocations: 13.72 kB / 0.4909 GB, free: 9.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.09343, allocations: 322.8 kB / 0.4912 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.09346, allocations: 15.92 kB / 0.4912 GB, free: 8.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.09348, allocations: 17.72 kB / 0.4912 GB, free: 8.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/0.09352, allocations: 21.72 kB / 0.4913 GB, free: 8.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.09353, allocations: 0 / 0.4913 GB, free: 8.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.768e-05/0.09361, allocations: 61.53 kB / 0.4913 GB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.09363, allocations: 4 kB / 0.4913 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.09364, allocations: 3.984 kB / 0.4913 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.09366, allocations: 0 / 0.4913 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.718e-05/0.09369, allocations: 8.031 kB / 0.4913 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.0937, allocations: 4 kB / 0.4913 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.928e-05/0.09373, allocations: 7.984 kB / 0.4913 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.09374, allocations: 0 / 0.4913 GB, free: 8.691 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 6.647e-05/0.09382, allocations: 121.7 kB / 0.4915 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.09383, allocations: 7.906 kB / 0.4915 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.09385, allocations: 3.906 kB / 0.4915 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.09386, allocations: 0 / 0.4915 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.09387, allocations: 0 / 0.4915 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.09391, allocations: 89.48 kB / 0.4916 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.09393, allocations: 7.922 kB / 0.4916 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.09396, allocations: 3.938 kB / 0.4916 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.09398, allocations: 0 / 0.4916 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000152/0.09414, allocations: 128.9 kB / 0.4917 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001491/0.0943, allocations: 235.1 kB / 0.4919 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.493e-05/0.09434, allocations: 15.97 kB / 0.4919 GB, free: 8.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.377e-05/0.09439, allocations: 99.2 kB / 0.492 GB, free: 7.934 MB / 382.1 MB Notification: Performance of Backend: time 1.312e-06/0.0944, allocations: 0 / 0.492 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.09469, allocations: 82.39 kB / 0.4921 GB, free: 7.848 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004359/0.09513, allocations: 0.5966 MB / 0.4927 GB, free: 7.203 MB / 382.1 MB Notification: Performance of Templates: time 0.002409/0.09755, allocations: 0.5959 MB / 0.4933 GB, free: 6.609 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