Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.0008315/0.0008315, 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.0008222/0.0008222, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8896/0.8896, 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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.232e-05, allocations: 6.781 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001834/0.001856, allocations: 1.447 MB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001658/0.002022, allocations: 27.91 kB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.002081, allocations: 3.938 kB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.002107, allocations: 3.938 kB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.177e-05/0.002138, allocations: 7.938 kB / 326 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.002366, allocations: 22.78 kB / 326 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.002442, allocations: 27.92 kB / 326 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.002531, allocations: 8 kB / 326.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.002576, allocations: 15.97 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.002612, allocations: 19.92 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.002634, allocations: 4 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.002641, allocations: 4 kB / 326.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.002656, allocations: 4 kB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.002678, allocations: 4 kB / 326.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.71e-05/0.002765, allocations: 31.88 kB / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.002767, allocations: 0 / 326.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.002769, allocations: 4 kB / 326.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.002773, allocations: 0 / 326.1 MB, free: 14.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003137/0.003087, allocations: 266.3 kB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.003123, allocations: 15.98 kB / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.003152, allocations: 38.73 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.94e-05/0.003172, allocations: 0.9375 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.003342, allocations: 125.7 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.003359, allocations: 384 / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.003368, allocations: 4.375 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.003592, allocations: 115.8 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003598, allocations: 192 / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.003605, allocations: 4.375 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.00361, allocations: 4.125 kB / 326.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.003666, allocations: 19.98 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.185e-05/0.003758, allocations: 124.8 kB / 326.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.003847, allocations: 54.48 kB / 326.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.003892, allocations: 20.89 kB / 326.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.003903, allocations: 4.031 kB / 326.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.003922, allocations: 30.56 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.003923, allocations: 3.938 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001751/0.004098, allocations: 77.75 kB / 327 MB, free: 13.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.004146, allocations: 67.28 kB / 327.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.0042, allocations: 109.8 kB / 327.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.004214, allocations: 29.7 kB / 327.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.004239, allocations: 80.14 kB / 327.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.004249, allocations: 0 / 327.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.004272, allocations: 13.72 kB / 327.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.004348, allocations: 318.8 kB / 327.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.004359, allocations: 4 kB / 327.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-06/0.004366, allocations: 0 / 327.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.004388, allocations: 12.86 kB / 327.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.004391, allocations: 4.062 kB / 327.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.294e-05/0.004434, allocations: 41.62 kB / 327.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.00445, allocations: 11.98 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.004455, allocations: 0 / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.004467, allocations: 0 / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.004518, allocations: 3.938 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.004523, allocations: 7.984 kB / 327.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-06/0.004532, allocations: 4 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.004536, allocations: 0 / 327.7 MB, free: 12.46 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.078e-05/0.004597, allocations: 113.9 kB / 327.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.004673, allocations: 65.62 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.004694, allocations: 3.688 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.004696, allocations: 0 / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.004701, allocations: 3.938 kB / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004703, allocations: 0 / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.306e-05/0.004766, allocations: 128.8 kB / 328 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.004768, allocations: 0 / 328 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.004785, allocations: 11.88 kB / 328 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.004787, allocations: 0 / 328 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.004794, allocations: 3.984 kB / 328.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.004796, allocations: 8 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.004802, allocations: 3.938 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.966e-05/0.004891, allocations: 81.11 kB / 328.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.004901, allocations: 7.953 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.004913, allocations: 0 / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.267e-05/0.004925, allocations: 4.25 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-06/0.00493, allocations: 3.938 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.004934, allocations: 4 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.147e-05/0.004966, allocations: 87.27 kB / 328.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004966, allocations: 0 / 328.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001133/0.005079, allocations: 4 kB / 328.3 MB, free: 11.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0003327/0.005412, allocations: 0.6436 MB / 328.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.53e-05/0.005497, allocations: 19.98 kB / 328.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.005499, allocations: 0 / 328.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.0055, allocations: 4 kB / 328.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.005678, allocations: 31.83 kB / 328.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.006312, allocations: 1.101 MB / 330.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.006346, allocations: 63.5 kB / 330.1 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.596e-05/0.006362, allocations: 8 kB / 330.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.006396, allocations: 8.5 kB / 330.1 MB, free: 9.852 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.006397, allocations: 0 / 330.1 MB, free: 9.852 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.02075, allocations: 1.922 MB / 332.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/6.791, allocations: 3.938 kB / 332.1 MB, free: 8.023 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.432177735492587]