Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.8 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001699, allocations: 64.11 kB / 307.1 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1154, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002922/0.1184, allocations: 1.437 MB / 359 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002732/0.1187, allocations: 89.44 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.1188, allocations: 3.938 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.1188, allocations: 3.984 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.1188, allocations: 7.938 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1191, allocations: 19.92 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.343e-05/0.1192, allocations: 27.92 kB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1193, allocations: 19.91 kB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.1194, allocations: 12 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.1194, allocations: 11.94 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1194, allocations: 4 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.1194, allocations: 0 / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.1195, allocations: 11.91 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.1195, allocations: 11.94 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.535e-05/0.1196, allocations: 23.91 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1196, allocations: 0 / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1196, allocations: 0 / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1196, allocations: 0 / 359.3 MB, free: 12.34 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.0004418/0.1201, allocations: 347.7 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.1201, allocations: 12.03 kB / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.1202, allocations: 30.75 kB / 359.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1202, allocations: 12.84 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.1204, allocations: 176.3 kB / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1204, allocations: 384 / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1204, allocations: 4.375 kB / 359.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.1207, allocations: 115.8 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1208, allocations: 3.938 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1208, allocations: 0 / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1208, allocations: 0 / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.1209, allocations: 23.97 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.121, allocations: 157.5 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1212, allocations: 58.55 kB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.1213, allocations: 24.92 kB / 360.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1213, allocations: 0 / 360.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1213, allocations: 34.5 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1214, allocations: 0 / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002267/0.1216, allocations: 77.61 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1216, allocations: 51.41 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.1217, allocations: 105.8 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1218, allocations: 29.7 kB / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.1218, allocations: 80.14 kB / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.1218, allocations: 0 / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.1218, allocations: 17.72 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.122, allocations: 318.8 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.122, allocations: 8 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.122, allocations: 27.38 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/0.1221, allocations: 39.38 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1221, allocations: 4 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.035e-05/0.1222, allocations: 57.53 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.1222, allocations: 7.938 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1222, allocations: 4 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1222, allocations: 0 / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-05/0.1223, allocations: 7.984 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1223, allocations: 4 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.1223, allocations: 4.219 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.1223, allocations: 4 kB / 361.1 MB, free: 10.27 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.896e-05/0.1224, allocations: 121.8 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1225, allocations: 65.61 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.1226, allocations: 7.891 kB / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1226, allocations: 0 / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1226, allocations: 0 / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1226, allocations: 256 / 361.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.16e-05/0.1227, allocations: 153.7 kB / 361.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1227, allocations: 8 kB / 361.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.1228, allocations: 11.98 kB / 361.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/0.1228, allocations: 3.938 kB / 361.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1228, allocations: 7.938 kB / 361.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1228, allocations: 0 / 361.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1228, allocations: 0 / 361.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.123, allocations: 88.95 kB / 361.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.123, allocations: 77.11 kB / 361.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1231, allocations: 3.938 kB / 361.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.669e-05/0.1231, allocations: 15.94 kB / 361.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-06/0.1231, allocations: 0 / 361.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1231, allocations: 0 / 361.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.016e-05/0.1232, allocations: 83.27 kB / 361.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1232, allocations: 0 / 361.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002018/0.1234, allocations: 8 kB / 361.7 MB, free: 9.512 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: 3 (step.y,assignClock1.u,assignClock1.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.000475/0.1239, allocations: 0.624 MB / 362.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.124, allocations: 23.98 kB / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.124, allocations: 0 / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.124, allocations: 0 / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.1242, allocations: 31.95 kB / 362.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1254, allocations: 1.153 MB / 363.6 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1257, allocations: 0.6883 MB / 364.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.687e-05/0.1257, allocations: 4 kB / 364.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.1258, allocations: 11.42 kB / 364.3 MB, free: 6.824 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1258, allocations: 4 kB / 364.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.1435, allocations: 1.214 MB / 365.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/7.827, allocations: 15.3 kB / 365.5 MB, free: 5.711 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches