Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001473, allocations: 109.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 63.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6966, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.005365/0.7021, allocations: 1.496 MB / 411.4 MB, free: 120 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.7038, allocations: 478.8 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.7039, allocations: 0 / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.014e-05/0.7041, allocations: 3.938 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.7042, allocations: 3.938 kB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.7048, allocations: 31.91 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.7051, allocations: 39.78 kB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.7053, allocations: 19.98 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.7056, allocations: 23.92 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.7057, allocations: 15.92 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.7058, allocations: 4 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.7058, allocations: 8 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.7059, allocations: 7.938 kB / 412.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.7059, allocations: 15.92 kB / 412.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.7062, allocations: 43.7 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.7062, allocations: 8 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.7063, allocations: 0 / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.7063, allocations: 0 / 412.1 MB, free: 15.42 MB / 334.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.001194/0.7075, allocations: 355.2 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.63e-05/0.7076, allocations: 8.031 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.7079, allocations: 12.92 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.7087, allocations: 181.5 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.7087, allocations: 8.359 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.7087, allocations: 4.375 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008086/0.7096, allocations: 119.5 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.7096, allocations: 0 / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.7096, allocations: 0 / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.7096, allocations: 0 / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.7099, allocations: 23.98 kB / 412.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.7103, allocations: 161.6 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.7107, allocations: 58.55 kB / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.7108, allocations: 24.92 kB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.7109, allocations: 3.938 kB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.711, allocations: 42.5 kB / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.711, allocations: 0 / 413.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0009988/0.712, allocations: 73.58 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.7122, allocations: 55.41 kB / 413.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.7124, allocations: 109.8 kB / 413.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.7124, allocations: 29.7 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.7125, allocations: 88.06 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.7126, allocations: 0 / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.7127, allocations: 25.66 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002853/0.713, allocations: 315.2 kB / 413.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.713, allocations: 7.984 kB / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.125e-05/0.7131, allocations: 23.44 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/0.7132, allocations: 39.38 kB / 413.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.7132, allocations: 3.938 kB / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001753/0.7134, allocations: 53.62 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.7135, allocations: 10.91 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.7135, allocations: 0 / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.441e-05/0.7136, allocations: 4 kB / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.7137, allocations: 4.125 kB / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.697e-05/0.7137, allocations: 8 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.7138, allocations: 4 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.7139, allocations: 7.922 kB / 413.9 MB, free: 13.35 MB / 334.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.0002256/0.7141, allocations: 113.8 kB / 414.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.7144, allocations: 65.81 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.7145, allocations: 11.89 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.7146, allocations: 4.047 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.7146, allocations: 3.984 kB / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.7146, allocations: 4 kB / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.715, allocations: 153.7 kB / 414.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.715, allocations: 7.984 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.7152, allocations: 8 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.7152, allocations: 3.938 kB / 414.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.7152, allocations: 0 / 414.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7152, allocations: 0 / 414.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.7152, allocations: 7.922 kB / 414.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.7156, allocations: 93.02 kB / 414.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.7159, allocations: 89.03 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.7159, allocations: 4 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.865e-05/0.716, allocations: 0 / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.959e-06/0.716, allocations: 0 / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.716, allocations: 0 / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.7162, allocations: 91.27 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7162, allocations: 3.938 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006357/0.7169, allocations: 4 kB / 414.6 MB, free: 12.58 MB / 334.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.0003095/0.7172, allocations: 99.25 kB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.7174, allocations: 27.92 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7175, allocations: 288 / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.7175, allocations: 0 / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.7179, allocations: 31.95 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.7184, allocations: 172.5 kB / 414.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007852/0.7192, allocations: 0.6846 MB / 415.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.7193, allocations: 11.44 kB / 415.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.7193, allocations: 0 / 415.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of Templates: time 0.003607/0.7229, allocations: 0.5882 MB / 416.2 MB, free: 10.9 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches