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.0008123/0.0008123, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003234/0.003234, allocations: 165.3 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8715/0.8715, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.593e-06/1.593e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.034e-05, allocations: 6.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002292/0.002312, allocations: 1.906 MB / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.003594, allocations: 1.134 MB / 328.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.003698, allocations: 4 kB / 328.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.004226, allocations: 155.4 kB / 329 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.004489, allocations: 167.2 kB / 329.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.004773, allocations: 178.2 kB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.004964, allocations: 187.5 kB / 329.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.005067, allocations: 25.73 kB / 329.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.005174, allocations: 95.73 kB / 329.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.08e-05/0.005265, allocations: 63.8 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.005284, allocations: 8 kB / 329.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.005386, allocations: 67.88 kB / 329.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.005446, allocations: 43.8 kB / 329.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.005496, allocations: 47.84 kB / 329.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.005736, allocations: 207.3 kB / 330.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005738, allocations: 0 / 330.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005739, allocations: 0 / 330.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.005743, allocations: 0 / 330.1 MB, free: 11.15 MB / 298.7 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.0005356/0.006279, allocations: 446.7 kB / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.006311, allocations: 15.97 kB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.006358, allocations: 20.8 kB / 330.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.006603, allocations: 212.8 kB / 330.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.006884, allocations: 4.375 kB / 330.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.006897, allocations: 12.36 kB / 330.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.007139, allocations: 134.4 kB / 330.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.007148, allocations: 3.938 kB / 330.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.00716, allocations: 4 kB / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.007164, allocations: 0 / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.007232, allocations: 35.92 kB / 331 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.007554, allocations: 294.2 kB / 331.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.007693, allocations: 111.8 kB / 331.4 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.007742, allocations: 46.56 kB / 331.4 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.007762, allocations: 3.938 kB / 331.4 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.00787, allocations: 75.38 kB / 331.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.007871, allocations: 0 / 331.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002439/0.008115, allocations: 153.4 kB / 331.6 MB, free: 9.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.008162, allocations: 102.8 kB / 331.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.008345, allocations: 277.8 kB / 332 MB, free: 9.027 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.008357, allocations: 33.7 kB / 332 MB, free: 8.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.008414, allocations: 116.1 kB / 332.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.008435, allocations: 19.92 kB / 332.2 MB, free: 8.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.008471, allocations: 33.64 kB / 332.2 MB, free: 8.812 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.008549, allocations: 326.8 kB / 332.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.008583, allocations: 16.23 kB / 332.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.008635, allocations: 76.45 kB / 332.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.008701, allocations: 69.61 kB / 332.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.008704, allocations: 0 / 332.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.923e-05/0.008803, allocations: 93.53 kB / 332.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.008815, allocations: 7.984 kB / 332.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.00882, allocations: 0 / 332.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.008829, allocations: 4 kB / 332.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.5e-05/0.008884, allocations: 8 kB / 332.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.008889, allocations: 0 / 332.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.008919, allocations: 8.031 kB / 332.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.008926, allocations: 7.984 kB / 332.8 MB, free: 8.172 MB / 298.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: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.234e-05/0.009008, allocations: 140.2 kB / 332.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.009055, allocations: 65.5 kB / 333 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.009194, allocations: 119.4 kB / 333.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.009196, allocations: 0 / 333.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.009201, allocations: 4 kB / 333.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.009205, allocations: 3.984 kB / 333.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.009338, allocations: 161.2 kB / 333.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.00934, allocations: 4.062 kB / 333.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.009366, allocations: 15.92 kB / 333.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009368, allocations: 0 / 333.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.009378, allocations: 4 kB / 333.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.009381, allocations: 64 / 333.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.009383, allocations: 4 kB / 333.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.00959, allocations: 174.5 kB / 333.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.009653, allocations: 31.84 kB / 333.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.009677, allocations: 4 kB / 333.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/0.009725, allocations: 7.984 kB / 333.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.009764, allocations: 8 kB / 333.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.00978, allocations: 8 kB / 333.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.009912, allocations: 201.2 kB / 333.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009912, allocations: 0 / 333.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.01007, allocations: 31.92 kB / 333.8 MB, free: 7.141 MB / 298.7 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0006704/0.01074, allocations: 442 kB / 334.2 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.01091, allocations: 59.97 kB / 334.3 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01091, allocations: 8 kB / 334.3 MB, free: 6.816 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.01096, allocations: 31.97 kB / 334.3 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.01119, allocations: 60.36 kB / 334.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.0116, allocations: 354.9 kB / 334.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.512e-05/0.01167, allocations: 115.6 kB / 334.8 MB, free: 6.207 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.01171, allocations: 28.5 kB / 334.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01171, allocations: 0 / 334.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of Templates: time 0.003136/0.01484, allocations: 2.693 MB / 337.5 MB, free: 3.496 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/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: 4.50022791326046]