Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008826, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008512/0.0008512, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9043/0.9043, allocations: 173.3 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.003e-05, allocations: 6.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002051/0.002071, allocations: 1.492 MB / 319.9 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003317/0.002403, allocations: 143.4 kB / 320.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.002479, allocations: 0 / 320.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.69e-05/0.002526, allocations: 11.88 kB / 320.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.002657, allocations: 11.92 kB / 320.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.00287, allocations: 35.84 kB / 320.1 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.002971, allocations: 39.86 kB / 320.2 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.003059, allocations: 7.984 kB / 320.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.58e-05/0.003105, allocations: 19.97 kB / 320.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.673e-05/0.003132, allocations: 11.92 kB / 320.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.003155, allocations: 4 kB / 320.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.003165, allocations: 4 kB / 320.2 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.00321, allocations: 11.94 kB / 320.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.003232, allocations: 8 kB / 320.2 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.003334, allocations: 51.8 kB / 320.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003337, allocations: 0 / 320.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.003338, allocations: 0 / 320.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.003341, allocations: 0 / 320.3 MB, free: 4.492 MB / 282.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.0003511/0.003692, allocations: 289.3 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.003733, allocations: 16.86 kB / 320.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.003766, allocations: 38.75 kB / 320.6 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.003787, allocations: 8.891 kB / 320.6 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.003959, allocations: 129.7 kB / 320.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.003977, allocations: 8.375 kB / 320.8 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.003985, allocations: 4.375 kB / 320.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.00419, allocations: 113.6 kB / 320.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.004199, allocations: 4.125 kB / 320.9 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.004206, allocations: 384 / 320.9 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.004211, allocations: 4.125 kB / 320.9 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.653e-05/0.004248, allocations: 19.98 kB / 320.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.004505, allocations: 228.9 kB / 321.1 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.004611, allocations: 57.14 kB / 321.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.004646, allocations: 25.78 kB / 321.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.004666, allocations: 3.984 kB / 321.2 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.004684, allocations: 34.5 kB / 321.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004686, allocations: 3.938 kB / 321.3 MB, free: 3.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001682/0.004854, allocations: 61.69 kB / 321.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.004905, allocations: 85.05 kB / 321.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.004992, allocations: 145.4 kB / 321.5 MB, free: 3.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.005002, allocations: 29.64 kB / 321.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.005043, allocations: 84.14 kB / 321.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.005052, allocations: 4 kB / 321.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.005077, allocations: 17.72 kB / 321.7 MB, free: 2.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.005162, allocations: 314.8 kB / 322 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.005181, allocations: 4 kB / 322 MB, free: 2.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.00519, allocations: 0 / 322 MB, free: 2.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.005218, allocations: 16.86 kB / 322 MB, free: 2.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.00522, allocations: 4.062 kB / 322 MB, free: 2.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.352e-05/0.005273, allocations: 49.52 kB / 322 MB, free: 2.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.005286, allocations: 4 kB / 322.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.005291, allocations: 0 / 322.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.005303, allocations: 7.938 kB / 322.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-06/0.005311, allocations: 0 / 322.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.005315, allocations: 0 / 322.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.338e-05/0.005329, allocations: 3.984 kB / 322.1 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.005333, allocations: 0 / 322.1 MB, free: 2.484 MB / 282.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 7.235e-05/0.005406, allocations: 121.9 kB / 322.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.005449, allocations: 49.58 kB / 322.2 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.00548, allocations: 12 kB / 322.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005482, allocations: 0 / 322.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.005486, allocations: 0 / 322.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.005489, allocations: 4 kB / 322.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.005605, allocations: 140.7 kB / 322.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.005606, allocations: 0 / 322.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-06/0.005611, allocations: 4.172 kB / 322.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.005616, allocations: 7.938 kB / 322.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.005622, allocations: 0 / 322.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.005624, allocations: 8 kB / 322.4 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005625, allocations: 0 / 322.4 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.005729, allocations: 164.3 kB / 322.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.005757, allocations: 11.92 kB / 322.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.005766, allocations: 0 / 322.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.005799, allocations: 8 kB / 322.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.005828, allocations: 3.984 kB / 322.6 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.005831, allocations: 0 / 322.6 MB, free: 1.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.94e-05/0.005881, allocations: 99.27 kB / 322.7 MB, free: 1.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005881, allocations: 0 / 322.7 MB, free: 1.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.006031, allocations: 8 kB / 322.7 MB, free: 1.77 MB / 282.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.0003361/0.006367, allocations: 0.6976 MB / 323.4 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.34e-05/0.006451, allocations: 23.92 kB / 323.4 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.006452, allocations: 0 / 323.4 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/0.006466, allocations: 7.938 kB / 323.4 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.006718, allocations: 26.97 kB / 323.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.007527, allocations: 1.239 MB / 324.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.007581, allocations: 79.27 kB / 324.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.486e-05/0.007596, allocations: 0 / 324.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.007626, allocations: 12.5 kB / 324.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007627, allocations: 0 / 324.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.02249, allocations: 2.122 MB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.979/7.001, allocations: 3.984 kB / 326.9 MB, free: 13.56 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.687307998538017]