Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 105.2 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 189.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 43.38 kB / 300.1 MB, free: 6.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1185, allocations: 49.45 MB / 349.6 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00293/0.1215, allocations: 1.514 MB / 351.1 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002745/0.1218, allocations: 107.7 kB / 351.2 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.1218, allocations: 4 kB / 351.2 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.1219, allocations: 3.938 kB / 351.2 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.61e-05/0.1219, allocations: 4 kB / 351.2 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.1222, allocations: 19.92 kB / 351.2 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.18e-05/0.1223, allocations: 27.92 kB / 351.3 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1224, allocations: 7.938 kB / 351.3 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.1225, allocations: 11.98 kB / 351.3 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.1225, allocations: 11.94 kB / 351.3 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1225, allocations: 4 kB / 351.3 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.1226, allocations: 0 / 351.3 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.1226, allocations: 11.92 kB / 351.3 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.1226, allocations: 11.94 kB / 351.3 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.715e-05/0.1227, allocations: 31.89 kB / 351.3 MB, free: 2.758 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1227, allocations: 0 / 351.3 MB, free: 2.758 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1227, allocations: 0 / 351.3 MB, free: 2.758 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1227, allocations: 0 / 351.3 MB, free: 2.758 MB / 286.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.0004413/0.1232, allocations: 339.7 kB / 351.7 MB, free: 2.375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1232, allocations: 16.02 kB / 351.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.1233, allocations: 4.844 kB / 351.7 MB, free: 2.355 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.1235, allocations: 180.4 kB / 351.9 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1235, allocations: 4.375 kB / 351.9 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1235, allocations: 384 / 351.9 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1238, allocations: 107.8 kB / 352 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1238, allocations: 192 / 352 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1239, allocations: 7.938 kB / 352 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1239, allocations: 4 kB / 352 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.124, allocations: 15.92 kB / 352 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.1241, allocations: 161.7 kB / 352.2 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1243, allocations: 46.56 kB / 352.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.933e-05/0.1244, allocations: 36.8 kB / 352.3 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1244, allocations: 4 kB / 352.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1244, allocations: 30.56 kB / 352.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.896e-06/0.1244, allocations: 3.984 kB / 352.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002355/0.1247, allocations: 73.55 kB / 352.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.1247, allocations: 59.39 kB / 352.4 MB, free: 1.496 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.1248, allocations: 97.86 kB / 352.5 MB, free: 1.391 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1249, allocations: 29.7 kB / 352.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.1249, allocations: 96.11 kB / 352.6 MB, free: 1.258 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.1249, allocations: 0 / 352.6 MB, free: 1.258 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.125, allocations: 17.72 kB / 352.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1251, allocations: 310.8 kB / 353 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.1252, allocations: 4 kB / 353 MB, free: 0.918 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.1252, allocations: 31.42 kB / 353 MB, free: 0.875 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.842e-05/0.1253, allocations: 35.38 kB / 353 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1253, allocations: 0 / 353 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.607e-05/0.1254, allocations: 57.56 kB / 353.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1254, allocations: 8 kB / 353.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.1254, allocations: 8.062 kB / 353.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1254, allocations: 0 / 353.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.008e-05/0.1255, allocations: 8 kB / 353.1 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1255, allocations: 0 / 353.1 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.1255, allocations: 7.906 kB / 353.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.1255, allocations: 0 / 353.1 MB, free: 0.7344 MB / 286.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: 0 () * 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 0.0001013/0.1256, allocations: 121.8 kB / 353.2 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1258, allocations: 53.62 kB / 353.3 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.1258, allocations: 15.84 kB / 353.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1258, allocations: 4 kB / 353.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1258, allocations: 0 / 353.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1258, allocations: 0 / 353.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.126, allocations: 157.7 kB / 353.5 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.126, allocations: 0 / 353.5 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.038e-05/0.126, allocations: 8 kB / 353.5 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.126, allocations: 256 / 353.5 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.126, allocations: 3.938 kB / 353.5 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.1261, allocations: 4 kB / 353.5 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1261, allocations: 3.938 kB / 353.5 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.1262, allocations: 92.95 kB / 353.6 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.1263, allocations: 77.11 kB / 353.6 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.1263, allocations: 11.92 kB / 353.7 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.1263, allocations: 0 / 353.7 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-06/0.1264, allocations: 0 / 353.7 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.1264, allocations: 7.938 kB / 353.7 MB, free: 76 kB / 286.1 MB Notification: Performance of sorting global known variables: time 7.254e-05/0.1264, allocations: 83.28 kB / 353.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1265, allocations: 4 kB / 353.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001925/0.1267, allocations: 4 kB / 353.8 MB, free: 15.98 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: 0 () * 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.000111/0.1268, allocations: 103.2 kB / 353.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.1269, allocations: 27.92 kB / 353.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1269, allocations: 0 / 353.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1269, allocations: 0 / 353.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.1272, allocations: 20.25 kB / 353.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.1275, allocations: 126.1 kB / 354 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1278, allocations: 0.6807 MB / 354.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.223e-05/0.1278, allocations: 0 / 354.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.1279, allocations: 7.438 kB / 354.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1279, allocations: 0 / 354.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Templates: time 0.002481/0.1304, allocations: 328.5 kB / 355 MB, free: 14.64 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches