Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009106/0.0009106, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009787/0.0009787, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9245/0.9245, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.907e-05, allocations: 2.844 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002466/0.002485, allocations: 1.998 MB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.004177, allocations: 1.199 MB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.004329, allocations: 3.938 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.004897, allocations: 163.3 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.005211, allocations: 166.8 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.005718, allocations: 215.2 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.005975, allocations: 231.3 kB / 328.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.006089, allocations: 32.52 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.006225, allocations: 131.7 kB / 328.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.006327, allocations: 75.78 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.006351, allocations: 16 kB / 328.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.006475, allocations: 59.89 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.00654, allocations: 63.77 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.006599, allocations: 55.77 kB / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.006879, allocations: 255.2 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.006882, allocations: 3.984 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.006883, allocations: 0 / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.006888, allocations: 0 / 329.1 MB, free: 11.24 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006077/0.007495, allocations: 498.4 kB / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.007533, allocations: 15.98 kB / 329.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.00757, allocations: 46.73 kB / 329.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.007616, allocations: 24.8 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.00788, allocations: 228.8 kB / 329.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.007903, allocations: 12.36 kB / 330 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.00792, allocations: 16.38 kB / 330 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.008295, allocations: 286.8 kB / 330.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.008304, allocations: 192 / 330.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.008319, allocations: 12.12 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.008323, allocations: 0 / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.008424, allocations: 59.91 kB / 330.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.00879, allocations: 341.5 kB / 330.7 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.008991, allocations: 187.8 kB / 330.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.009075, allocations: 82.53 kB / 330.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.009096, allocations: 7.938 kB / 330.9 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.009208, allocations: 71.39 kB / 331 MB, free: 9.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.00921, allocations: 0 / 331 MB, free: 9.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006017/0.009811, allocations: 241.4 kB / 331.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.009869, allocations: 114.8 kB / 331.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.01006, allocations: 289.8 kB / 331.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.01008, allocations: 33.7 kB / 331.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.01014, allocations: 124.6 kB / 331.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.01016, allocations: 27.78 kB / 331.8 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.0102, allocations: 37.7 kB / 331.8 MB, free: 8.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.01028, allocations: 330.8 kB / 332.2 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.01033, allocations: 23.98 kB / 332.2 MB, free: 7.941 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/0.0104, allocations: 106.6 kB / 332.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.127e-05/0.01049, allocations: 105 kB / 332.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01049, allocations: 0 / 332.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001385/0.01063, allocations: 145.4 kB / 332.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.01064, allocations: 7.938 kB / 332.5 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01064, allocations: 7.984 kB / 332.6 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.01065, allocations: 0 / 332.6 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.0107, allocations: 12.16 kB / 332.6 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01071, allocations: 4 kB / 332.6 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.01075, allocations: 15.98 kB / 332.6 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.01076, allocations: 4 kB / 332.6 MB, free: 7.492 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,$CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.36e-05/0.01085, allocations: 158 kB / 332.7 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.01096, allocations: 125.5 kB / 332.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.01111, allocations: 123.8 kB / 333 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01111, allocations: 0 / 333 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01111, allocations: 4 kB / 333 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01112, allocations: 0 / 333 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.01125, allocations: 208.6 kB / 333.2 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.01125, allocations: 7.875 kB / 333.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.01128, allocations: 11.98 kB / 333.2 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01128, allocations: 4 kB / 333.2 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.01129, allocations: 7.938 kB / 333.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01129, allocations: 4 kB / 333.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01129, allocations: 0 / 333.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.01149, allocations: 234.2 kB / 333.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.01155, allocations: 47.77 kB / 333.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.01157, allocations: 4 kB / 333.5 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.01161, allocations: 15.98 kB / 333.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.01164, allocations: 7.984 kB / 333.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.01166, allocations: 15.98 kB / 333.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.01179, allocations: 205.2 kB / 333.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01179, allocations: 0 / 333.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001868/0.01198, allocations: 35.94 kB / 333.8 MB, free: 6.211 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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.001121/0.0131, allocations: 1.183 MB / 335 MB, free: 5.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.01327, allocations: 107.8 kB / 335.1 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01328, allocations: 0 / 335.1 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.01332, allocations: 31.92 kB / 335.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.01361, allocations: 112.6 kB / 335.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.01518, allocations: 2.162 MB / 337.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.948e-05/0.01527, allocations: 153.5 kB / 337.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.01532, allocations: 21.95 kB / 337.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.0154, allocations: 68.47 kB / 337.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0154, allocations: 4 kB / 337.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.03446, allocations: 6.439 MB / 344.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/6.995, allocations: 7.094 kB / 344.1 MB, free: 11.93 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78926e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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: 8.745751646347344]