Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 92.12 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001065, allocations: 204 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.674/1.674, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003004, allocations: 7.984 kB / 307.7 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 51.53 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002818/0.137, allocations: 1.219 MB / 360.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.1377, allocations: 139.6 kB / 360.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.1379, allocations: 0 / 360.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.063e-05/0.138, allocations: 4 kB / 360.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.1383, allocations: 15.86 kB / 360.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.1387, allocations: 35.91 kB / 360.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1389, allocations: 27.92 kB / 360.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1391, allocations: 12 kB / 360.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.593e-05/0.1392, allocations: 11.88 kB / 360.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.1392, allocations: 15.92 kB / 360.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.1393, allocations: 4 kB / 360.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.763e-05/0.1393, allocations: 0 / 360.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-05/0.1394, allocations: 15.91 kB / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.874e-05/0.1395, allocations: 45.52 kB / 360.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.1396, allocations: 31.83 kB / 360.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1396, allocations: 0 / 360.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1396, allocations: 0 / 360.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1396, allocations: 4 kB / 360.8 MB, free: 11.69 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000581/0.1402, allocations: 351.6 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.1403, allocations: 8.031 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.1403, allocations: 12.84 kB / 361.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1406, allocations: 196.1 kB / 361.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.1406, allocations: 4.375 kB / 361.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1407, allocations: 12.31 kB / 361.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.141, allocations: 117.6 kB / 361.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.1411, allocations: 192 / 361.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1411, allocations: 3.938 kB / 361.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.1411, allocations: 0 / 361.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.517e-05/0.1412, allocations: 12 kB / 361.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.1416, allocations: 265.8 kB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.1418, allocations: 134.2 kB / 361.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.1419, allocations: 33.77 kB / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1419, allocations: 3.938 kB / 362 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.142, allocations: 34.56 kB / 362 MB, free: 10.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.142, allocations: 0 / 362 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002513/0.1422, allocations: 69.53 kB / 362.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.1423, allocations: 93.22 kB / 362.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1425, allocations: 128.4 kB / 362.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1425, allocations: 25.7 kB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.1425, allocations: 84.14 kB / 362.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.1426, allocations: 7.875 kB / 362.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.1426, allocations: 17.72 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1427, allocations: 314.8 kB / 362.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.1428, allocations: 12 kB / 362.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.1428, allocations: 31.42 kB / 362.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.172e-05/0.1429, allocations: 39.38 kB / 362.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1429, allocations: 4 kB / 362.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.143, allocations: 77.41 kB / 362.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1431, allocations: 7.984 kB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1431, allocations: 0 / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1431, allocations: 4 kB / 362.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.161e-05/0.1431, allocations: 0 / 362.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1431, allocations: 0 / 362.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.1432, allocations: 7.938 kB / 362.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1432, allocations: 8.125 kB / 362.9 MB, free: 9.312 MB / 302.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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 9.85e-05/0.1433, allocations: 121.7 kB / 363 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.1434, allocations: 53.53 kB / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.1434, allocations: 11.89 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1434, allocations: 4 kB / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1434, allocations: 0 / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1435, allocations: 0 / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1436, allocations: 165.6 kB / 363.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1436, allocations: 0 / 363.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.1437, allocations: 8.328 kB / 363.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1437, allocations: 0 / 363.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1437, allocations: 4 kB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1437, allocations: 0 / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1437, allocations: 4 kB / 363.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1439, allocations: 168.2 kB / 363.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.1439, allocations: 89.09 kB / 363.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.144, allocations: 4 kB / 363.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.144, allocations: 11.98 kB / 363.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.1441, allocations: 0 / 363.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1441, allocations: 4 kB / 363.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.835e-05/0.1441, allocations: 95.27 kB / 363.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.1442, allocations: 0 / 363.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1444, allocations: 15.84 kB / 363.7 MB, free: 8.457 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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.0001089/0.1445, allocations: 101.8 kB / 363.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1446, allocations: 27.92 kB / 363.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1446, allocations: 0 / 363.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.1447, allocations: 11.98 kB / 363.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.145, allocations: 27.91 kB / 363.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.1454, allocations: 169.8 kB / 364 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1458, allocations: 0.6887 MB / 364.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.285e-05/0.1458, allocations: 0 / 364.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.1458, allocations: 11.44 kB / 364.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1459, allocations: 0 / 364.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of Templates: time 0.00285/0.1487, allocations: 443.1 kB / 365.1 MB, free: 6.93 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches