Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001921/0.001921, allocations: 112.5 kB / 18.45 MB, free: 4.543 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.002543/0.002543, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.459/1.459, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.94 kB / 374.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 53.33 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003761/0.1102, allocations: 1.91 MB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1124, allocations: 1.204 MB / 430.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.1126, allocations: 3.938 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.1132, allocations: 147.5 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.1137, allocations: 163.3 kB / 430.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.1142, allocations: 167.2 kB / 431.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.1145, allocations: 191.5 kB / 431.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1146, allocations: 21.55 kB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1148, allocations: 79.62 kB / 431.4 MB, free: 404 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1149, allocations: 79.61 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1149, allocations: 12 kB / 431.4 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1151, allocations: 55.97 kB / 431.5 MB, free: 256 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.1151, allocations: 47.83 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.338e-05/0.1152, allocations: 71.48 kB / 431.6 MB, free: 136 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1963/0.3116, allocations: 213.7 kB / 431.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3116, allocations: 0 / 431.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3116, allocations: 0 / 431.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.3116, allocations: 0 / 431.8 MB, free: 8.445 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007724/0.3124, allocations: 0.5157 MB / 432.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3124, allocations: 9.719 kB / 432.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.3125, allocations: 21.8 kB / 432.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.3128, allocations: 278.5 kB / 432.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.3128, allocations: 9.875 kB / 432.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3128, allocations: 6.156 kB / 432.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.3131, allocations: 151.4 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3131, allocations: 0.5 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3131, allocations: 3.438 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3132, allocations: 1.656 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3133, allocations: 36.38 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.3137, allocations: 360.5 kB / 433.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.3139, allocations: 105.8 kB / 433.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.314, allocations: 48.02 kB / 433.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.314, allocations: 2.875 kB / 433.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.3141, allocations: 76.94 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3141, allocations: 0.5312 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003622/0.3145, allocations: 141.2 kB / 433.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.3145, allocations: 135.9 kB / 433.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.3148, allocations: 275.1 kB / 434 MB, free: 6.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3148, allocations: 27.55 kB / 434 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.3149, allocations: 117.6 kB / 434.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.3149, allocations: 19.84 kB / 434.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.3149, allocations: 33.11 kB / 434.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.315, allocations: 336.2 kB / 434.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.315, allocations: 20.41 kB / 434.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.3151, allocations: 72.41 kB / 434.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.3152, allocations: 78.31 kB / 434.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3152, allocations: 0.5 kB / 434.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001829/0.3154, allocations: 114.1 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3154, allocations: 7.781 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3154, allocations: 5.844 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3154, allocations: 1.094 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.3155, allocations: 15.11 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3155, allocations: 6.781 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.3156, allocations: 4.625 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3156, allocations: 2.188 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.631e-05/0.3157, allocations: 150.5 kB / 435 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.3158, allocations: 66.34 kB / 435 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.3158, allocations: 24.89 kB / 435 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3158, allocations: 4.328 kB / 435 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3158, allocations: 3.562 kB / 435 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3158, allocations: 1.156 kB / 435.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.316, allocations: 235.9 kB / 435.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.316, allocations: 1.125 kB / 435.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.316, allocations: 4.688 kB / 435.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.316, allocations: 5.125 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.316, allocations: 9.031 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.316, allocations: 4.625 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.316, allocations: 5.094 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.3162, allocations: 153.8 kB / 435.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.3163, allocations: 109.1 kB / 435.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.3163, allocations: 7.484 kB / 435.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.3163, allocations: 3.328 kB / 435.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.3164, allocations: 9.5 kB / 435.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3164, allocations: 0 / 435.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.3165, allocations: 202.1 kB / 435.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3165, allocations: 1.125 kB / 435.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3168, allocations: 33.91 kB / 435.8 MB, free: 5.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00148/0.3183, allocations: 434.6 kB / 436.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.3185, allocations: 61.41 kB / 436.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3185, allocations: 1.031 kB / 436.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.418e-05/0.3186, allocations: 25.86 kB / 436.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.3189, allocations: 58.5 kB / 436.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.3194, allocations: 349.8 kB / 436.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.3196, allocations: 0.7304 MB / 437.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.3196, allocations: 21.78 kB / 437.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3196, allocations: 3.938 kB / 437.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Templates: time 0.005166/0.3248, allocations: 2.66 MB / 440.1 MB, free: 4.336 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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: 7.6665966309956275]