Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 115.5 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 214.8 kB / 19.41 MB, free: 3.66 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.422/1.422, allocations: 227.7 MB / 247.9 MB, free: 10.28 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.001873/0.001873, allocations: 59.91 kB / 359.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.252, allocations: 50.54 MB / 410.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002617/0.2547, allocations: 1.51 MB / 411.7 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003742/0.255, allocations: 131.5 kB / 411.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.2551, allocations: 7.938 kB / 411.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/0.2552, allocations: 3.938 kB / 411.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2553, allocations: 4 kB / 411.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.2555, allocations: 43.83 kB / 411.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.528e-05/0.2556, allocations: 23.92 kB / 411.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.2556, allocations: 4 kB / 411.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.2557, allocations: 15.92 kB / 411.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.89e-05/0.2557, allocations: 15.92 kB / 411.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.2557, allocations: 4 kB / 411.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.2557, allocations: 4 kB / 412 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.2558, allocations: 11.92 kB / 412 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.2558, allocations: 19.88 kB / 412 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.062e-05/0.2559, allocations: 31.78 kB / 412 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2559, allocations: 3.984 kB / 412 MB, free: 15.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2559, allocations: 0 / 412 MB, free: 15.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.2559, allocations: 7.938 kB / 412 MB, free: 15.68 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.0004096/0.2563, allocations: 355.2 kB / 412.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2564, allocations: 12.03 kB / 412.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2564, allocations: 8.891 kB / 412.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.2566, allocations: 196.2 kB / 412.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2566, allocations: 4.375 kB / 412.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2567, allocations: 4.375 kB / 412.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.2569, allocations: 89.67 kB / 412.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2569, allocations: 4.125 kB / 412.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2569, allocations: 3.938 kB / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2569, allocations: 0 / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.257, allocations: 11.98 kB / 412.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.2573, allocations: 253.8 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.2574, allocations: 45.09 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.2574, allocations: 21.77 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.2574, allocations: 0 / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2574, allocations: 30.56 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2574, allocations: 4 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001935/0.2576, allocations: 61.58 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.2577, allocations: 77.11 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2578, allocations: 133.8 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2578, allocations: 25.7 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.2579, allocations: 88.14 kB / 413.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.2579, allocations: 3.953 kB / 413.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.2579, allocations: 21.95 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2581, allocations: 318.8 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.2581, allocations: 7.938 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.2581, allocations: 21.7 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.091e-05/0.2582, allocations: 17.72 kB / 413.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2582, allocations: 0 / 413.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.403e-05/0.2583, allocations: 57.62 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2583, allocations: 4 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2583, allocations: 0 / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2583, allocations: 4 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.186e-05/0.2583, allocations: 0 / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2583, allocations: 0 / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.2583, allocations: 0 / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.2583, allocations: 7.984 kB / 413.9 MB, free: 13.55 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 9.109e-05/0.2584, allocations: 125.8 kB / 414 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.2585, allocations: 37.59 kB / 414 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.2585, allocations: 19.47 kB / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2585, allocations: 0 / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2585, allocations: 0 / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2585, allocations: 7.984 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2587, allocations: 161.6 kB / 414.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2587, allocations: 0 / 414.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.2587, allocations: 3.984 kB / 414.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2587, allocations: 0 / 414.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.2587, allocations: 4.031 kB / 414.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2587, allocations: 8 kB / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2587, allocations: 0 / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.2589, allocations: 156.2 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.2589, allocations: 89.05 kB / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2589, allocations: 4 kB / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.259, allocations: 8.031 kB / 414.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.259, allocations: 0 / 414.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.259, allocations: 4 kB / 414.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.432e-05/0.2591, allocations: 102.6 kB / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2591, allocations: 0 / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.2593, allocations: 8 kB / 414.6 MB, free: 12.72 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 9.155e-05/0.2594, allocations: 95.25 kB / 414.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.2595, allocations: 23.94 kB / 414.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2595, allocations: 3.938 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.719e-05/0.2595, allocations: 11.98 kB / 414.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.2598, allocations: 19.84 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.2601, allocations: 142.4 kB / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.2604, allocations: 0.6807 MB / 415.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.92e-05/0.2605, allocations: 8.266 kB / 415.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.2605, allocations: 15.38 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2605, allocations: 0 / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of Templates: time 0.002558/0.263, allocations: 433.1 kB / 416 MB, free: 11.25 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches