Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.0008355/0.0008355, 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.001228/0.001228, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9151/0.9151, allocations: 177 MB / 204.1 MB, free: 5.75 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.57e-05, allocations: 10.28 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002563/0.002588, allocations: 1.885 MB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.004066, allocations: 1.169 MB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.004196, allocations: 7.938 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008369/0.005033, allocations: 155.3 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.00537, allocations: 159.3 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.005782, allocations: 178.3 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.005991, allocations: 199.3 kB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.006093, allocations: 17.8 kB / 328.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.006208, allocations: 99.78 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.006303, allocations: 63.8 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.006321, allocations: 12 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.006441, allocations: 63.83 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.006505, allocations: 43.78 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.00656, allocations: 47.84 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.006863, allocations: 207.4 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.006866, allocations: 0 / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.006868, allocations: 0 / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.006874, allocations: 0 / 328.8 MB, free: 11.59 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.0006362/0.00751, allocations: 446.7 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.007555, allocations: 11.98 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.007595, allocations: 42.73 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.007641, allocations: 20.8 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.007909, allocations: 216.8 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.007922, allocations: 4.312 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.007935, allocations: 8.375 kB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.008199, allocations: 142.4 kB / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.008207, allocations: 192 / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.008217, allocations: 8.125 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.008222, allocations: 4 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.008294, allocations: 31.98 kB / 329.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.008678, allocations: 325.5 kB / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.008831, allocations: 111.8 kB / 330.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.008881, allocations: 42.56 kB / 330.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.0089, allocations: 7.938 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.009018, allocations: 71.33 kB / 330.3 MB, free: 9.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.009019, allocations: 4 kB / 330.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002533/0.009272, allocations: 145.5 kB / 330.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.00933, allocations: 114.8 kB / 330.5 MB, free: 9.652 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.009529, allocations: 269.9 kB / 330.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.009544, allocations: 29.7 kB / 330.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.009607, allocations: 116.1 kB / 330.9 MB, free: 9.227 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.009628, allocations: 23.77 kB / 330.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.009664, allocations: 29.67 kB / 331 MB, free: 9.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.009755, allocations: 326.8 kB / 331.3 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.009796, allocations: 24.31 kB / 331.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.00986, allocations: 72.25 kB / 331.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.245e-05/0.009933, allocations: 53.64 kB / 331.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009936, allocations: 0 / 331.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.01005, allocations: 101.5 kB / 331.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01007, allocations: 11.28 kB / 331.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01007, allocations: 0 / 331.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.01009, allocations: 0 / 331.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.01015, allocations: 8.062 kB / 331.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.01015, allocations: 8.156 kB / 331.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.01019, allocations: 7.984 kB / 331.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.0102, allocations: 3.984 kB / 331.6 MB, free: 8.531 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,table.y) * 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 9.331e-05/0.01029, allocations: 150 kB / 331.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.01034, allocations: 61.56 kB / 331.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.0105, allocations: 115.4 kB / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.01051, allocations: 11.92 kB / 331.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.01052, allocations: 0 / 331.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.01052, allocations: 4.062 kB / 331.9 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.01066, allocations: 192.6 kB / 332.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01066, allocations: 0 / 332.1 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.01068, allocations: 8 kB / 332.1 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01069, allocations: 0 / 332.1 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.0107, allocations: 7.984 kB / 332.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.0107, allocations: 0 / 332.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.0107, allocations: 0 / 332.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.01085, allocations: 166.5 kB / 332.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.01091, allocations: 43.81 kB / 332.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01093, allocations: 0 / 332.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.328e-05/0.01096, allocations: 8 kB / 332.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.011, allocations: 15.92 kB / 332.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01101, allocations: 4 kB / 332.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.01114, allocations: 201.2 kB / 332.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01114, allocations: 0 / 332.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000173/0.01131, allocations: 31.94 kB / 332.6 MB, free: 7.449 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.0009822/0.01229, allocations: 1.025 MB / 333.6 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.01245, allocations: 59.92 kB / 333.7 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.01245, allocations: 4 kB / 333.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.0125, allocations: 31.97 kB / 333.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01278, allocations: 64.61 kB / 333.8 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.01451, allocations: 1.906 MB / 335.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.983e-05/0.01459, allocations: 127.6 kB / 335.8 MB, free: 4.223 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.497e-05/0.01466, allocations: 21.62 kB / 335.8 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.01473, allocations: 60.41 kB / 335.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01473, allocations: 0 / 335.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.03773, allocations: 5.443 MB / 341.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.905, allocations: 15.61 kB / 341.3 MB, free: 14.72 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.63815985713154]