Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001299/0.001299, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002523/0.002523, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.45/1.45, allocations: 230.6 MB / 254.1 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1019, allocations: 53.33 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004118/0.106, allocations: 1.92 MB / 428.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.1083, allocations: 1.239 MB / 429.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1085, allocations: 3.938 kB / 429.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.1092, allocations: 147.5 kB / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.1097, allocations: 159.3 kB / 429.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.1103, allocations: 171.5 kB / 429.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.1106, allocations: 187.5 kB / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1107, allocations: 13.56 kB / 430.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.1109, allocations: 91.55 kB / 430.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1111, allocations: 75.69 kB / 430.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.1111, allocations: 8 kB / 430.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.1113, allocations: 63.91 kB / 430.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.1114, allocations: 43.83 kB / 430.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.1115, allocations: 71.48 kB / 430.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.1119, allocations: 211.1 kB / 430.7 MB, free: 404 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1119, allocations: 3.938 kB / 430.7 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1119, allocations: 0 / 430.7 MB, free: 400 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1119, allocations: 0 / 430.7 MB, free: 400 kB / 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.1788/0.2907, allocations: 0.5186 MB / 431.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2907, allocations: 12 kB / 431.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.2907, allocations: 37 kB / 431.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.2908, allocations: 22.11 kB / 431.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.2911, allocations: 267.8 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2912, allocations: 10.75 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.2912, allocations: 4.031 kB / 431.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.2915, allocations: 147.8 kB / 431.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2915, allocations: 4.781 kB / 431.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2915, allocations: 1.562 kB / 431.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2915, allocations: 3.625 kB / 431.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.2916, allocations: 38.03 kB / 431.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.292, allocations: 361 kB / 432.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.2922, allocations: 107 kB / 432.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.2923, allocations: 46.94 kB / 432.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.2923, allocations: 1.844 kB / 432.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.2925, allocations: 76.38 kB / 432.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.2925, allocations: 0 / 432.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003278/0.2928, allocations: 142.6 kB / 432.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.2928, allocations: 132.3 kB / 432.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.2931, allocations: 275.8 kB / 432.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2931, allocations: 33.45 kB / 432.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.2932, allocations: 116.6 kB / 433 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.2932, allocations: 20.36 kB / 433 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.2932, allocations: 37.59 kB / 433.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.2933, allocations: 329.8 kB / 433.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.2933, allocations: 21.23 kB / 433.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.2934, allocations: 69.36 kB / 433.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2935, allocations: 78.77 kB / 433.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2935, allocations: 0.75 kB / 433.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001779/0.2937, allocations: 114.9 kB / 433.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2937, allocations: 5.5 kB / 433.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2937, allocations: 1.688 kB / 433.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2937, allocations: 7.984 kB / 433.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.2938, allocations: 14.25 kB / 433.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2938, allocations: 1.312 kB / 433.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.2939, allocations: 11.75 kB / 433.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.2939, allocations: 2.938 kB / 433.7 MB, free: 9.566 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,table.y,superSample1.y,superSample1.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.961e-05/0.294, allocations: 148.8 kB / 433.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.294, allocations: 67.62 kB / 433.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.2941, allocations: 25.33 kB / 433.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2941, allocations: 4.594 kB / 433.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2941, allocations: 0.875 kB / 433.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.2941, allocations: 4.594 kB / 434 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2942, allocations: 236.8 kB / 434.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2942, allocations: 0 / 434.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.2942, allocations: 6.953 kB / 434.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2942, allocations: 8.188 kB / 434.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2943, allocations: 0 / 434.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2943, allocations: 3.594 kB / 434.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2943, allocations: 2.844 kB / 434.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.2945, allocations: 159.7 kB / 434.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.2945, allocations: 108.1 kB / 434.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.2945, allocations: 6.156 kB / 434.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.2946, allocations: 5.719 kB / 434.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.2946, allocations: 9.875 kB / 434.5 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2946, allocations: 4.562 kB / 434.5 MB, free: 9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.2948, allocations: 198.9 kB / 434.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2948, allocations: 5 kB / 434.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.295, allocations: 33.81 kB / 434.7 MB, free: 8.918 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.001691/0.2967, allocations: 1.011 MB / 435.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.2969, allocations: 65.53 kB / 435.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2969, allocations: 1.375 kB / 435.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.323e-05/0.297, allocations: 22.22 kB / 435.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.2974, allocations: 59.61 kB / 435.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.2991, allocations: 1.951 MB / 437.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.2993, allocations: 0.7284 MB / 438.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.455e-05/0.2994, allocations: 28.84 kB / 438.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.2994, allocations: 51.83 kB / 438.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2994, allocations: 0 / 438.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.3268, allocations: 4.661 MB / 443.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.104, allocations: 5.25 kB / 443.3 MB, free: 5.383 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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: 10.538189003011212]