Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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 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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001957/0.001957, allocations: 108.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.002957/0.002957, allocations: 211.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 2.773/2.773, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002117, allocations: 64.12 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5978/0.5999, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.006038/0.6061, allocations: 1.488 MB / 411.4 MB, free: 136 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007718/0.6069, allocations: 135.5 kB / 411.5 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.6071, allocations: 4.047 kB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.311e-05/0.6073, allocations: 3.938 kB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.6075, allocations: 3.938 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.608, allocations: 39.84 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.6082, allocations: 23.92 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.6084, allocations: 19.98 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.6085, allocations: 7.938 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.454e-05/0.6086, allocations: 11.92 kB / 411.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.6086, allocations: 4 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.6087, allocations: 0 / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.705e-05/0.6088, allocations: 15.92 kB / 411.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.6089, allocations: 15.88 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.6091, allocations: 47.77 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.6091, allocations: 0 / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6092, allocations: 0 / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.6092, allocations: 4 kB / 411.7 MB, free: 15.8 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.0008434/0.61, allocations: 359 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/0.6101, allocations: 8.031 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.6102, allocations: 8.844 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.6108, allocations: 192.8 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.6108, allocations: 4.375 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.6109, allocations: 4.375 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.6113, allocations: 89.61 kB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.6113, allocations: 4.172 kB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.6113, allocations: 3.938 kB / 412.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.6114, allocations: 4 kB / 412.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.6115, allocations: 11.94 kB / 412.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.6121, allocations: 261.8 kB / 412.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.6123, allocations: 49.09 kB / 412.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.606e-05/0.6124, allocations: 17.77 kB / 412.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.6124, allocations: 0 / 412.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.6125, allocations: 38.56 kB / 412.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.6125, allocations: 0 / 412.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004019/0.6129, allocations: 53.62 kB / 412.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.6131, allocations: 81.11 kB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.6133, allocations: 133.7 kB / 413 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.6133, allocations: 29.64 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.6135, allocations: 84.39 kB / 413.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.6135, allocations: 0 / 413.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.6136, allocations: 21.7 kB / 413.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.6138, allocations: 314.8 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.6138, allocations: 4 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.6139, allocations: 21.64 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.26e-05/0.614, allocations: 29.72 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6141, allocations: 0 / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000177/0.6142, allocations: 53.47 kB / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.6143, allocations: 8 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6143, allocations: 3.984 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.6143, allocations: 0 / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.775e-05/0.6144, allocations: 0 / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.6144, allocations: 4 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.781e-05/0.6145, allocations: 4.062 kB / 413.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.6145, allocations: 4 kB / 413.6 MB, free: 13.67 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: 2 (sample1.u,sample1.y) * 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.0001566/0.6147, allocations: 121.7 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.6148, allocations: 37.7 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-05/0.6149, allocations: 15.47 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6149, allocations: 0 / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.6149, allocations: 3.938 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6149, allocations: 0 / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.6152, allocations: 165.6 kB / 413.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6152, allocations: 4.031 kB / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/0.6153, allocations: 4 kB / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.6153, allocations: 0 / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.6153, allocations: 3.984 kB / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.6153, allocations: 0 / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6153, allocations: 0 / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.6156, allocations: 156.2 kB / 414.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.6157, allocations: 93 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.6158, allocations: 0 / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.6159, allocations: 4 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.616, allocations: 3.938 kB / 414.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.616, allocations: 4 kB / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.6161, allocations: 103.3 kB / 414.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6161, allocations: 0 / 414.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.6166, allocations: 4 kB / 414.3 MB, free: 12.85 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: 2 (sample1.u,sample1.y) * 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.0002091/0.6168, allocations: 106.1 kB / 414.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.617, allocations: 16 kB / 414.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6171, allocations: 0 / 414.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.6171, allocations: 19.8 kB / 414.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.6176, allocations: 18.72 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.6182, allocations: 172.4 kB / 414.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.6187, allocations: 0.6846 MB / 415.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.6188, allocations: 7.438 kB / 415.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6188, allocations: 0 / 415.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of Templates: time 0.003736/0.6225, allocations: 0.6321 MB / 416 MB, free: 11.13 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches