Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000943/0.000943, allocations: 101.8 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3385/0.3385, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3244, allocations: 62.02 MB / 0.5151 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001992/0.3264, allocations: 0.8708 MB / 0.516 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001842/0.3266, allocations: 40.67 kB / 0.516 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.3267, allocations: 7.938 kB / 0.516 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.3268, allocations: 5.906 kB / 0.5161 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.764e-05/0.3268, allocations: 3.938 kB / 0.5161 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.327, allocations: 17.97 kB / 0.5161 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.818e-05/0.3271, allocations: 33.47 kB / 0.5161 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.3272, allocations: 19.75 kB / 0.5161 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.3272, allocations: 16.86 kB / 0.5161 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.3272, allocations: 7.875 kB / 0.5161 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.3272, allocations: 6.719 kB / 0.5162 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.3273, allocations: 6.781 kB / 0.5162 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.3273, allocations: 7.188 kB / 0.5162 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.3273, allocations: 17.81 kB / 0.5162 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.275e-05/0.3274, allocations: 35.02 kB / 0.5162 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3274, allocations: 0 / 0.5162 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3274, allocations: 0 / 0.5162 GB, free: 37.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.3274, allocations: 0 / 0.5162 GB, free: 37.04 MB / 378.7 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.0003437/0.3278, allocations: 352.8 kB / 0.5166 GB, free: 36.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3278, allocations: 7 kB / 0.5166 GB, free: 36.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.3278, allocations: 11.5 kB / 0.5166 GB, free: 36.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.328, allocations: 173.3 kB / 0.5167 GB, free: 36.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.328, allocations: 7.188 kB / 0.5167 GB, free: 36.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.328, allocations: 3.312 kB / 0.5167 GB, free: 36.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.3281, allocations: 56.62 kB / 0.5168 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3281, allocations: 192 / 0.5168 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3281, allocations: 3.938 kB / 0.5168 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3281, allocations: 0 / 0.5168 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.656e-05/0.3282, allocations: 12.84 kB / 0.5168 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.3286, allocations: 294.2 kB / 0.5171 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.3286, allocations: 24.48 kB / 0.5171 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.3287, allocations: 15 kB / 0.5171 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.3287, allocations: 0 / 0.5171 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.145e-05/0.3288, allocations: 56.8 kB / 0.5172 GB, free: 36.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3288, allocations: 0 / 0.5172 GB, free: 36.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001156/0.3289, allocations: 51.61 kB / 0.5172 GB, free: 35.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.3289, allocations: 51.41 kB / 0.5173 GB, free: 35.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/0.329, allocations: 118.1 kB / 0.5174 GB, free: 35.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.329, allocations: 25.7 kB / 0.5174 GB, free: 35.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.329, allocations: 87.02 kB / 0.5175 GB, free: 35.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.3291, allocations: 18.56 kB / 0.5175 GB, free: 35.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.3291, allocations: 15.89 kB / 0.5175 GB, free: 35.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.3291, allocations: 330 kB / 0.5179 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.3292, allocations: 2.906 kB / 0.5179 GB, free: 35.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.3292, allocations: 20 kB / 0.5179 GB, free: 35.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.3292, allocations: 22.69 kB / 0.5179 GB, free: 35.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3292, allocations: 3.938 kB / 0.5179 GB, free: 35.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.315e-05/0.3293, allocations: 63.06 kB / 0.518 GB, free: 35.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.3293, allocations: 7.312 kB / 0.518 GB, free: 35.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3293, allocations: 0 / 0.518 GB, free: 35.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3293, allocations: 2.875 kB / 0.518 GB, free: 35.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.884e-05/0.3294, allocations: 2.781 kB / 0.518 GB, free: 35.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3294, allocations: 3.469 kB / 0.518 GB, free: 35.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.3294, allocations: 2.875 kB / 0.518 GB, free: 35.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-06/0.3294, allocations: 3.938 kB / 0.518 GB, free: 35.24 MB / 378.7 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 5.003e-05/0.3295, allocations: 112.8 kB / 0.5181 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.3295, allocations: 6.844 kB / 0.5181 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.3295, allocations: 7.906 kB / 0.5181 GB, free: 35.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3295, allocations: 2.812 kB / 0.5181 GB, free: 35.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3295, allocations: 7.938 kB / 0.5181 GB, free: 35.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3295, allocations: 3.891 kB / 0.5181 GB, free: 35.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.3297, allocations: 298.6 kB / 0.5184 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3297, allocations: 0 / 0.5184 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.3298, allocations: 3.062 kB / 0.5184 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.3298, allocations: 0 / 0.5184 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3298, allocations: 0 / 0.5184 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3298, allocations: 11.88 kB / 0.5184 GB, free: 34.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3298, allocations: 3.938 kB / 0.5184 GB, free: 34.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.3303, allocations: 0.9571 MB / 0.5194 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.3303, allocations: 84.45 kB / 0.5194 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-06/0.3303, allocations: 6.906 kB / 0.5194 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.018e-05/0.3304, allocations: 0 / 0.5194 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.3304, allocations: 3.516 kB / 0.5194 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3304, allocations: 7.922 kB / 0.5195 GB, free: 33.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.3305, allocations: 91.72 kB / 0.5195 GB, free: 33.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3305, allocations: 0 / 0.5195 GB, free: 33.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000267/0.3307, allocations: 9.344 kB / 0.5196 GB, free: 33.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * 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 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 7.012e-05/0.3308, allocations: 96.84 kB / 0.5196 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.489e-05/0.3309, allocations: 16.66 kB / 0.5197 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3309, allocations: 2.781 kB / 0.5197 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.678e-05/0.3309, allocations: 13.06 kB / 0.5197 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.3312, allocations: 14.5 kB / 0.5197 GB, free: 33.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.3315, allocations: 253.6 kB / 0.5199 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3316, allocations: 0.6881 MB / 0.5206 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.412e-05/0.3316, allocations: 6.078 kB / 0.5206 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.3316, allocations: 14.16 kB / 0.5206 GB, free: 32.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3316, allocations: 0 / 0.5206 GB, free: 32.5 MB / 378.7 MB Notification: Performance of Templates: time 0.002127/0.3338, allocations: 0.507 MB / 0.5211 GB, free: 32.43 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches