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.001247/0.001247, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001293, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001168, allocations: 65.3 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003404/0.1368, allocations: 1.48 MB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004121/0.1372, allocations: 141.2 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.1373, allocations: 0 / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.846e-05/0.1374, allocations: 7.938 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1375, allocations: 0 / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1378, allocations: 39.83 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.385e-05/0.1379, allocations: 27.86 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.138, allocations: 11.98 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.138, allocations: 19.92 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.191e-05/0.1381, allocations: 7.938 kB / 360.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1381, allocations: 4 kB / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.1381, allocations: 0 / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.1382, allocations: 11.98 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.1382, allocations: 19.81 kB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1383, allocations: 43.81 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1383, allocations: 4 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1383, allocations: 0 / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1383, allocations: 0 / 360.7 MB, free: 11.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005043/0.1389, allocations: 359.2 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1389, allocations: 8.031 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.1389, allocations: 12.83 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1392, allocations: 191.8 kB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1392, allocations: 4.375 kB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1393, allocations: 4.375 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.1395, allocations: 89.67 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1395, allocations: 4.125 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1395, allocations: 3.938 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1395, allocations: 0 / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.123e-05/0.1396, allocations: 15.98 kB / 361.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.1399, allocations: 253.8 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1401, allocations: 56.97 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.1402, allocations: 17.77 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1402, allocations: 0 / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1402, allocations: 38.56 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1402, allocations: 4 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002019/0.1404, allocations: 57.53 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.1405, allocations: 81.05 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1406, allocations: 129.8 kB / 362 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1407, allocations: 25.7 kB / 362 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.1407, allocations: 84.14 kB / 362.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.1407, allocations: 8.234 kB / 362.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.1408, allocations: 21.62 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1409, allocations: 314.8 kB / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.1409, allocations: 4 kB / 362.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.141, allocations: 17.7 kB / 362.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.141, allocations: 25.78 kB / 362.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.141, allocations: 0 / 362.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.895e-05/0.1411, allocations: 53.56 kB / 362.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1412, allocations: 4 kB / 362.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1412, allocations: 4 kB / 362.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1412, allocations: 0 / 362.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.554e-05/0.1412, allocations: 0 / 362.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1412, allocations: 0 / 362.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.1413, allocations: 7.984 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1413, allocations: 64 / 362.6 MB, free: 9.387 MB / 302.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 8.368e-05/0.1414, allocations: 121.7 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.1415, allocations: 45.55 kB / 362.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.1415, allocations: 11.47 kB / 362.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1416, allocations: 4 kB / 362.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1416, allocations: 0 / 362.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1416, allocations: 0 / 362.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.1418, allocations: 165.6 kB / 362.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1418, allocations: 0 / 362.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-06/0.1418, allocations: 8.016 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1418, allocations: 4 kB / 362.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1418, allocations: 0 / 362.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1418, allocations: 3.938 kB / 362.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1418, allocations: 0 / 362.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.142, allocations: 156.2 kB / 363.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.142, allocations: 93.09 kB / 363.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1421, allocations: 4.031 kB / 363.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.1421, allocations: 3.984 kB / 363.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.1422, allocations: 7.938 kB / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1422, allocations: 0 / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.738e-05/0.1422, allocations: 111.2 kB / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1423, allocations: 0 / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1425, allocations: 0 / 363.3 MB, free: 8.555 MB / 302.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.0001017/0.1426, allocations: 95.25 kB / 363.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1427, allocations: 23.94 kB / 363.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1427, allocations: 0 / 363.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.1427, allocations: 7.984 kB / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1431, allocations: 23.53 kB / 363.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.1434, allocations: 150.2 kB / 363.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1437, allocations: 0.6848 MB / 364.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.402e-05/0.1437, allocations: 11.92 kB / 364.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.1438, allocations: 7.438 kB / 364.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1438, allocations: 0 / 364.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of Templates: time 0.002734/0.1465, allocations: 441.6 kB / 364.7 MB, free: 7.074 MB / 302.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 -s cvode -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