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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.4 MB / 246.4 MB, free: 9.148 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.5 kB / 306.6 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1084, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.004533/0.113, allocations: 1.484 MB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.1133, allocations: 31.84 kB / 358.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.1134, allocations: 4 kB / 358.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.1135, allocations: 0 / 358.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.1135, allocations: 0 / 358.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1138, allocations: 23.91 kB / 358.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.496e-05/0.1139, allocations: 23.98 kB / 358.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1141, allocations: 12 kB / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.1141, allocations: 15.92 kB / 358.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.1142, allocations: 7.938 kB / 358.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1142, allocations: 4 kB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.1142, allocations: 4 kB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.1142, allocations: 11.97 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.1143, allocations: 15.88 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1144, allocations: 19.91 kB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1144, allocations: 0 / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1144, allocations: 3.938 kB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.1144, allocations: 8 kB / 358.8 MB, free: 12.43 MB / 302.1 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.0005243/0.115, allocations: 343.7 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.545e-05/0.115, allocations: 8.031 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/0.1151, allocations: 30.75 kB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1152, allocations: 12.84 kB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.1154, allocations: 172.4 kB / 359.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.1155, allocations: 4.375 kB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1155, allocations: 384 / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.116, allocations: 123.8 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.116, allocations: 7.922 kB / 359.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.116, allocations: 0 / 359.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.116, allocations: 0 / 359.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1161, allocations: 23.92 kB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.1164, allocations: 157.7 kB / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.1166, allocations: 50.56 kB / 359.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.1167, allocations: 24.92 kB / 359.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.1167, allocations: 4 kB / 359.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1167, allocations: 34.56 kB / 359.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.1168, allocations: 3.938 kB / 359.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003433/0.1171, allocations: 85.44 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.1172, allocations: 51.41 kB / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.1173, allocations: 105.9 kB / 360 MB, free: 11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1173, allocations: 25.7 kB / 360 MB, free: 10.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.1174, allocations: 88.12 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.1174, allocations: 3.938 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1174, allocations: 21.72 kB / 360.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1176, allocations: 310.8 kB / 360.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.1176, allocations: 7.984 kB / 360.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.249e-05/0.1176, allocations: 31.44 kB / 360.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.835e-05/0.1177, allocations: 35.38 kB / 360.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1177, allocations: 0 / 360.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.1178, allocations: 73.56 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1178, allocations: 7.938 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1178, allocations: 0 / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1179, allocations: 4 kB / 360.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.1179, allocations: 7.984 kB / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1179, allocations: 0 / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.118, allocations: 0 / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.118, allocations: 4 kB / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.699e-05/0.1181, allocations: 117.8 kB / 360.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.1182, allocations: 69.58 kB / 360.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.1183, allocations: 7.5 kB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1183, allocations: 0 / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1183, allocations: 384 / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1183, allocations: 0 / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1184, allocations: 161.6 kB / 360.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1184, allocations: 4 kB / 360.9 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.1185, allocations: 4 kB / 360.9 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1185, allocations: 3.938 kB / 360.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1185, allocations: 240 / 360.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1185, allocations: 4 kB / 360.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1185, allocations: 4 kB / 360.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.1187, allocations: 92.94 kB / 361 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.1188, allocations: 77.11 kB / 361.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1188, allocations: 15.86 kB / 361.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.152e-05/0.1188, allocations: 4 kB / 361.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-06/0.1188, allocations: 3.938 kB / 361.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1189, allocations: 4 kB / 361.1 MB, free: 9.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.487e-05/0.1189, allocations: 83.28 kB / 361.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1189, allocations: 0 / 361.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000197/0.1191, allocations: 4 kB / 361.2 MB, free: 9.582 MB / 302.1 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.0006595/0.1198, allocations: 0.6436 MB / 361.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.12, allocations: 36.11 kB / 361.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.12, allocations: 4 kB / 361.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.12, allocations: 0 / 361.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1203, allocations: 31.92 kB / 361.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1216, allocations: 1.158 MB / 363.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.122, allocations: 0.6845 MB / 363.8 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.7e-05/0.122, allocations: 4 kB / 363.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.122, allocations: 15.42 kB / 363.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1221, allocations: 0 / 363.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.1369, allocations: 1.21 MB / 365 MB, free: 5.805 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/0.1372, allocations: 222.8 kB / 365.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.127, allocations: 2.656 kB / 365.2 MB, free: 5.543 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches