Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 60.28 kB / 307.6 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 50.53 MB / 358.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003103/0.1053, allocations: 1.475 MB / 359.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003422/0.1056, allocations: 101.4 kB / 359.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.1057, allocations: 3.938 kB / 359.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.1058, allocations: 0 / 359.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.1059, allocations: 3.938 kB / 359.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1062, allocations: 23.91 kB / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.432e-05/0.1063, allocations: 27.88 kB / 359.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1064, allocations: 11.98 kB / 359.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.1065, allocations: 8 kB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.1065, allocations: 15.92 kB / 359.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1066, allocations: 0 / 359.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.1066, allocations: 4 kB / 359.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.1066, allocations: 11.92 kB / 359.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.1067, allocations: 11.94 kB / 359.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.1068, allocations: 23.91 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.1068, allocations: 0 / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1068, allocations: 0 / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1068, allocations: 4 kB / 359.9 MB, free: 12.38 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.0005103/0.1073, allocations: 343.7 kB / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.1074, allocations: 12.03 kB / 360.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.1074, allocations: 12.84 kB / 360.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1077, allocations: 168.4 kB / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1077, allocations: 384 / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1077, allocations: 12.31 kB / 360.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.108, allocations: 111.8 kB / 360.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1081, allocations: 192 / 360.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1081, allocations: 3.938 kB / 360.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1081, allocations: 3.938 kB / 360.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.1082, allocations: 27.95 kB / 360.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.1083, allocations: 153.7 kB / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1085, allocations: 58.48 kB / 360.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.1086, allocations: 24.92 kB / 360.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1086, allocations: 3.938 kB / 360.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1086, allocations: 30.56 kB / 360.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1086, allocations: 4 kB / 360.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002294/0.1089, allocations: 69.61 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1089, allocations: 55.41 kB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.109, allocations: 109.8 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.109, allocations: 25.7 kB / 361.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.1091, allocations: 80.14 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.1091, allocations: 4 kB / 361.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1092, allocations: 13.72 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1093, allocations: 322.8 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.1093, allocations: 3.938 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.229e-05/0.1093, allocations: 27.44 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.719e-05/0.1094, allocations: 35.38 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1094, allocations: 0 / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.201e-05/0.1095, allocations: 61.53 kB / 361.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1095, allocations: 6.812 kB / 361.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1095, allocations: 7.938 kB / 361.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1095, allocations: 0 / 361.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.048e-05/0.1096, allocations: 7.984 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1096, allocations: 4 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.1096, allocations: 0 / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1096, allocations: 8 kB / 361.6 MB, free: 10.35 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: 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 6.824e-05/0.1097, allocations: 117.8 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1098, allocations: 61.69 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.1099, allocations: 11.83 kB / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1099, allocations: 0 / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1099, allocations: 0 / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1099, allocations: 0 / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.791e-05/0.11, allocations: 153.9 kB / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.11, allocations: 0 / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.1101, allocations: 19.92 kB / 362 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1101, allocations: 0 / 362 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1101, allocations: 3.938 kB / 362 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.1101, allocations: 8 kB / 362 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1101, allocations: 0 / 362 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.1103, allocations: 89.28 kB / 362.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.1103, allocations: 81.14 kB / 362.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1103, allocations: 7.938 kB / 362.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.47e-05/0.1104, allocations: 4 kB / 362.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-06/0.1104, allocations: 3.938 kB / 362.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1104, allocations: 4 kB / 362.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.188e-05/0.1104, allocations: 83.27 kB / 362.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1105, allocations: 0 / 362.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001925/0.1106, allocations: 8 kB / 362.3 MB, free: 9.598 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.0001192/0.1108, allocations: 95.25 kB / 362.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.1109, allocations: 27.92 kB / 362.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1109, allocations: 256 / 362.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.41e-07/0.1109, allocations: 4 kB / 362.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.1112, allocations: 19.98 kB / 362.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.1115, allocations: 147.1 kB / 362.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1118, allocations: 0.6807 MB / 363.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.1119, allocations: 7.438 kB / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1119, allocations: 0 / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of Templates: time 0.00198/0.1139, allocations: 0.5394 MB / 363.8 MB, free: 8.012 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches