Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.0008564/0.0008564, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008074/0.0008074, 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.8722/0.8722, 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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.425e-05, allocations: 3.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.0018/0.001814, allocations: 1.525 MB / 326 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003326/0.002146, allocations: 143.5 kB / 326.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.002226, allocations: 4 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.002274, allocations: 3.938 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.002411, allocations: 15.91 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.002633, allocations: 35.84 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.367e-05/0.002727, allocations: 35.86 kB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.002819, allocations: 11.98 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.00286, allocations: 15.98 kB / 326.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.821e-05/0.002888, allocations: 15.92 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.002913, allocations: 3.984 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.002923, allocations: 4 kB / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.00297, allocations: 8 kB / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.002993, allocations: 7.938 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.003098, allocations: 47.8 kB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003099, allocations: 4 kB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.0031, allocations: 0 / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.003104, allocations: 3.938 kB / 326.4 MB, free: 14 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003217/0.003426, allocations: 290.1 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.003461, allocations: 11.98 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.408e-05/0.003485, allocations: 30.75 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.003506, allocations: 8.891 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.00366, allocations: 134.2 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.003677, allocations: 384 / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.003685, allocations: 12.38 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.003887, allocations: 113.5 kB / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003894, allocations: 192 / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.003901, allocations: 384 / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.003907, allocations: 8.125 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.429e-05/0.003942, allocations: 15.98 kB / 327 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.004181, allocations: 228.8 kB / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/0.004273, allocations: 61.14 kB / 327.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.004305, allocations: 21.78 kB / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.00432, allocations: 4 kB / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.00434, allocations: 46.42 kB / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.004341, allocations: 0 / 327.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001436/0.004484, allocations: 61.64 kB / 327.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.004527, allocations: 85.05 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.004603, allocations: 136.6 kB / 327.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.004613, allocations: 29.83 kB / 327.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.004649, allocations: 88.14 kB / 327.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.004658, allocations: 3.984 kB / 327.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.004681, allocations: 17.67 kB / 327.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.004752, allocations: 314.8 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.004768, allocations: 7.984 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-06/0.004777, allocations: 0 / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.004801, allocations: 12.86 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.004803, allocations: 4 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.325e-05/0.004847, allocations: 53.62 kB / 328.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.004858, allocations: 8 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.004862, allocations: 0 / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.004871, allocations: 0 / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-06/0.004877, allocations: 0 / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.004883, allocations: 3.984 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.004895, allocations: 3.984 kB / 328.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.0049, allocations: 4 kB / 328.2 MB, free: 11.99 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.034e-05/0.00495, allocations: 113.8 kB / 328.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.004995, allocations: 61.73 kB / 328.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.00502, allocations: 12.03 kB / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.005023, allocations: 4 kB / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.005027, allocations: 0 / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005029, allocations: 0 / 328.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.005134, allocations: 136.7 kB / 328.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005134, allocations: 0 / 328.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.00514, allocations: 7.938 kB / 328.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.005142, allocations: 3.938 kB / 328.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-06/0.005148, allocations: 0 / 328.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.005148, allocations: 0 / 328.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.005151, allocations: 8 kB / 328.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.351e-05/0.005245, allocations: 156.4 kB / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.00527, allocations: 19.88 kB / 328.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-06/0.005279, allocations: 0 / 328.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.00531, allocations: 7.938 kB / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.005335, allocations: 3.984 kB / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.005337, allocations: 0 / 328.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.348e-05/0.005381, allocations: 103.3 kB / 328.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005381, allocations: 3.938 kB / 328.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001417/0.005523, allocations: 4 kB / 328.8 MB, free: 11.28 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0002624/0.005785, allocations: 0.6938 MB / 329.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.588e-05/0.005861, allocations: 19.92 kB / 329.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005862, allocations: 0 / 329.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.005877, allocations: 8 kB / 329.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.006122, allocations: 20.02 kB / 329.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.006823, allocations: 1.238 MB / 330.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.531e-05/0.006879, allocations: 79.59 kB / 330.9 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.637e-05/0.006895, allocations: 7.922 kB / 330.9 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.006927, allocations: 8.5 kB / 330.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006927, allocations: 0 / 330.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.01991, allocations: 2.113 MB / 333 MB, free: 7.059 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/6.901, allocations: 2.969 kB / 333 MB, free: 7.059 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:assignClock.u,assignClock.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,step.startTime,step.startValue,step.y,time [Calling sys.exit(0), Time elapsed: 8.531981474719942]