Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.0007995/0.0007995, allocations: 79.7 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.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.001262/0.001262, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8797/0.8797, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.191e-05, allocations: 4.953 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002168/0.0022, allocations: 1.524 MB / 326.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003415/0.002541, allocations: 143.4 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.002616, allocations: 3.938 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.24e-05/0.002659, allocations: 7.938 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.002787, allocations: 7.922 kB / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.003, allocations: 43.84 kB / 326.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.003091, allocations: 35.86 kB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.003186, allocations: 15.97 kB / 326.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.003232, allocations: 19.92 kB / 326.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.651e-05/0.003259, allocations: 7.984 kB / 326.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.003287, allocations: 4 kB / 326.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.71e-05/0.003304, allocations: 4 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.003355, allocations: 11.94 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.003383, allocations: 11.94 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003488, allocations: 47.8 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.00349, allocations: 0 / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.003492, allocations: 0 / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003495, allocations: 0 / 326.4 MB, free: 14.04 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.0003314/0.003827, allocations: 286.1 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.003863, allocations: 8.031 kB / 326.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.72e-05/0.00389, allocations: 38.75 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.003912, allocations: 8.891 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.004091, allocations: 137.6 kB / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.004107, allocations: 384 / 326.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.004116, allocations: 4.375 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.004334, allocations: 113.6 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004341, allocations: 4.188 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.004348, allocations: 4.375 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004354, allocations: 8.125 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.571e-05/0.00439, allocations: 15.92 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.004615, allocations: 232.8 kB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.81e-05/0.004713, allocations: 57.19 kB / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.004745, allocations: 29.66 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.00476, allocations: 0 / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.00478, allocations: 42.48 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.71e-07/0.004781, allocations: 4 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001555/0.004936, allocations: 69.58 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.00498, allocations: 81.11 kB / 327.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.005056, allocations: 136.5 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.026e-06/0.005065, allocations: 25.7 kB / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.005103, allocations: 84.14 kB / 327.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-06/0.00511, allocations: 4 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.005136, allocations: 17.67 kB / 327.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.005225, allocations: 310.8 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.005241, allocations: 16.11 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/0.00525, allocations: 0 / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.005274, allocations: 16.8 kB / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.005275, allocations: 0 / 328.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.205e-05/0.005317, allocations: 45.62 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.00533, allocations: 8 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005333, allocations: 0 / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.005345, allocations: 0 / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-06/0.005351, allocations: 96 / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005356, allocations: 4 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.005367, allocations: 0 / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.005371, allocations: 0 / 328.2 MB, free: 12.04 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 7.14e-05/0.005442, allocations: 121.8 kB / 328.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.00548, allocations: 53.52 kB / 328.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.005502, allocations: 8 kB / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005504, allocations: 0 / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.005509, allocations: 4 kB / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005511, allocations: 0 / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.005605, allocations: 136.7 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005607, allocations: 7.984 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-06/0.005612, allocations: 4 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005613, allocations: 3.938 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.00562, allocations: 4 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.00562, allocations: 0 / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005621, allocations: 3.938 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.005737, allocations: 164.3 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.005761, allocations: 19.88 kB / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.005769, allocations: 0 / 328.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.948e-05/0.005799, allocations: 7.938 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.005824, allocations: 7.984 kB / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.005826, allocations: 288 / 328.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.063e-05/0.005867, allocations: 103.3 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005867, allocations: 0 / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.006, allocations: 4 kB / 328.9 MB, free: 11.32 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.0002556/0.006255, allocations: 0.6937 MB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.093e-05/0.006326, allocations: 19.98 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006328, allocations: 0 / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.006341, allocations: 8.062 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.006568, allocations: 27.95 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008096/0.007377, allocations: 1.239 MB / 330.8 MB, free: 9.211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.007426, allocations: 71.59 kB / 330.9 MB, free: 9.121 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.407e-05/0.00744, allocations: 3.984 kB / 330.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.00747, allocations: 12.5 kB / 330.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.007471, allocations: 4.094 kB / 330.9 MB, free: 9.102 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.02193, allocations: 2.111 MB / 333 MB, free: 7.117 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.533/6.555, allocations: 6.984 kB / 333.1 MB, free: 7.113 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.201411418616772]