Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002106/0.002106, allocations: 117.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002136/0.002136, allocations: 215.7 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.625/1.625, allocations: 230.4 MB / 250 MB, free: 9.059 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 75.81 kB / 367.4 MB, free: 7.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4036, allocations: 53.3 MB / 420.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.004118/0.4077, allocations: 1.577 MB / 422.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.4089, allocations: 0.5259 MB / 422.8 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.409, allocations: 3.938 kB / 422.8 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.303e-05/0.4091, allocations: 3.938 kB / 422.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.4092, allocations: 15.92 kB / 422.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.4095, allocations: 47.83 kB / 422.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.4097, allocations: 43.8 kB / 422.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.4098, allocations: 7.984 kB / 422.9 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.4099, allocations: 31.91 kB / 422.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.41, allocations: 15.88 kB / 422.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.41, allocations: 4 kB / 422.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-05/0.41, allocations: 8 kB / 422.9 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.4101, allocations: 7.984 kB / 422.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.4101, allocations: 23.81 kB / 423 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.4103, allocations: 59.59 kB / 423 MB, free: 6.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4103, allocations: 3.938 kB / 423 MB, free: 6.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4103, allocations: 0 / 423 MB, free: 6.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.4103, allocations: 3.938 kB / 423 MB, free: 6.008 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005542/0.4109, allocations: 367.2 kB / 423.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4109, allocations: 8.031 kB / 423.4 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.4111, allocations: 20.88 kB / 423.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.4114, allocations: 204.2 kB / 423.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4114, allocations: 384 / 423.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.4115, allocations: 384 / 423.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.4117, allocations: 97.36 kB / 423.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4117, allocations: 7.922 kB / 423.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.4117, allocations: 0 / 423.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4117, allocations: 4 kB / 423.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.359e-05/0.4118, allocations: 23.92 kB / 423.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.4122, allocations: 265.7 kB / 424 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.4123, allocations: 41.2 kB / 424.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.4124, allocations: 33.72 kB / 424.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.4124, allocations: 0 / 424.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.4124, allocations: 30.56 kB / 424.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.4124, allocations: 0 / 424.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002673/0.4127, allocations: 69.56 kB / 424.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.4128, allocations: 81.36 kB / 424.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.4129, allocations: 142.1 kB / 424.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.4129, allocations: 29.7 kB / 424.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.413, allocations: 84.14 kB / 424.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.413, allocations: 3.938 kB / 424.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.413, allocations: 17.67 kB / 424.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4132, allocations: 318.8 kB / 424.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.4133, allocations: 12 kB / 424.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.4133, allocations: 21.7 kB / 424.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.738e-05/0.4134, allocations: 37.58 kB / 424.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4134, allocations: 0 / 424.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.4135, allocations: 57.72 kB / 425 MB, free: 3.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4135, allocations: 4 kB / 425 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4135, allocations: 4 kB / 425 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4136, allocations: 0 / 425 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.4136, allocations: 7.984 kB / 425 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4136, allocations: 0 / 425 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.4137, allocations: 4 kB / 425 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.4137, allocations: 0 / 425 MB, free: 3.781 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000115/0.4138, allocations: 117.8 kB / 425.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.4139, allocations: 45.69 kB / 425.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.4139, allocations: 11.83 kB / 425.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4139, allocations: 0 / 425.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4139, allocations: 3.984 kB / 425.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4139, allocations: 0 / 425.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.4141, allocations: 169.6 kB / 425.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4141, allocations: 7.938 kB / 425.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.4142, allocations: 4 kB / 425.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4142, allocations: 0 / 425.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.4142, allocations: 0 / 425.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4142, allocations: 4.031 kB / 425.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4142, allocations: 7.938 kB / 425.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.4144, allocations: 160.3 kB / 425.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.4145, allocations: 93.05 kB / 425.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.4145, allocations: 4 kB / 425.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.241e-05/0.4146, allocations: 0 / 425.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.4146, allocations: 4.031 kB / 425.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.4146, allocations: 8 kB / 425.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.4148, allocations: 113.9 kB / 425.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4148, allocations: 0 / 425.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.415, allocations: 7.938 kB / 425.7 MB, free: 2.926 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001253/0.4151, allocations: 99.19 kB / 425.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.4153, allocations: 28.05 kB / 425.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4153, allocations: 0 / 425.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.4153, allocations: 7.984 kB / 425.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.4157, allocations: 27.83 kB / 425.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.4161, allocations: 155.5 kB / 426.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.4165, allocations: 0.6848 MB / 426.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.09e-05/0.4166, allocations: 11.98 kB / 426.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.4166, allocations: 11.44 kB / 426.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4166, allocations: 0 / 426.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of Templates: time 0.00358/0.4202, allocations: 487.3 kB / 427.2 MB, free: 1.375 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches