Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 60 kB / 306.4 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1273, allocations: 50.53 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003901/0.1312, allocations: 1.57 MB / 358.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005334/0.1318, allocations: 143.6 kB / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1319, allocations: 4 kB / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.81e-05/0.132, allocations: 0 / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.1322, allocations: 7.922 kB / 358.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1326, allocations: 35.91 kB / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1327, allocations: 27.92 kB / 358.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1329, allocations: 19.92 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.494e-05/0.133, allocations: 27.84 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/0.133, allocations: 11.94 kB / 358.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1331, allocations: 4 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.1331, allocations: 4 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/0.1332, allocations: 15.92 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.1332, allocations: 19.88 kB / 358.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1334, allocations: 39.75 kB / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.1334, allocations: 4 kB / 358.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1334, allocations: 4 kB / 358.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1334, allocations: 3.984 kB / 358.9 MB, free: 12.48 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.000653/0.1341, allocations: 374.1 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1341, allocations: 8.031 kB / 359.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.1342, allocations: 8.844 kB / 359.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1345, allocations: 190.7 kB / 359.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1345, allocations: 4.375 kB / 359.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.1345, allocations: 4.375 kB / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.1349, allocations: 121.6 kB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1349, allocations: 192 / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1349, allocations: 7.938 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1349, allocations: 0 / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.135, allocations: 19.98 kB / 359.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.1354, allocations: 261.8 kB / 359.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1356, allocations: 134.3 kB / 360 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.035e-05/0.1357, allocations: 33.64 kB / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1358, allocations: 0 / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1358, allocations: 42.56 kB / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1358, allocations: 0 / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002758/0.1361, allocations: 81.5 kB / 360.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.1361, allocations: 77.11 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1363, allocations: 130.1 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1363, allocations: 29.83 kB / 360.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.1364, allocations: 92.08 kB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.1364, allocations: 3.984 kB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.1365, allocations: 29.61 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1366, allocations: 314.8 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.1366, allocations: 7.984 kB / 360.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.415e-05/0.1367, allocations: 31.38 kB / 360.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.41e-05/0.1368, allocations: 51.36 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1368, allocations: 0 / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001394/0.1369, allocations: 77.55 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.137, allocations: 4 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.137, allocations: 0 / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.137, allocations: 4 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.1371, allocations: 8 kB / 361 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1371, allocations: 3.984 kB / 361 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.1371, allocations: 7.938 kB / 361 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1371, allocations: 0 / 361 MB, free: 10.07 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 0.000101/0.1372, allocations: 121.8 kB / 361.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.1373, allocations: 53.53 kB / 361.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.1374, allocations: 12.25 kB / 361.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1374, allocations: 0 / 361.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.1374, allocations: 4 kB / 361.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1374, allocations: 3.984 kB / 361.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.1376, allocations: 165.6 kB / 361.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1376, allocations: 4 kB / 361.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.1377, allocations: 11.98 kB / 361.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1377, allocations: 336 / 361.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1377, allocations: 0 / 361.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1377, allocations: 8 kB / 361.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1377, allocations: 0 / 361.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1379, allocations: 172.2 kB / 361.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.138, allocations: 93 kB / 361.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.138, allocations: 4 kB / 361.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/0.1381, allocations: 0 / 361.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.1381, allocations: 8 kB / 361.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.1381, allocations: 3.984 kB / 361.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.836e-05/0.1382, allocations: 109.7 kB / 361.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1382, allocations: 0 / 361.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1384, allocations: 4 kB / 361.8 MB, free: 9.195 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.0001119/0.1386, allocations: 99.25 kB / 361.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.1387, allocations: 36.09 kB / 361.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1387, allocations: 0 / 361.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.1388, allocations: 8 kB / 361.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1392, allocations: 31.89 kB / 362 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.1396, allocations: 170.4 kB / 362.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1399, allocations: 0.6924 MB / 362.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.857e-05/0.14, allocations: 4 kB / 362.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.14, allocations: 7.438 kB / 362.8 MB, free: 8.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.14, allocations: 0 / 362.8 MB, free: 8.09 MB / 302.1 MB Notification: Performance of Templates: time 0.002907/0.1429, allocations: 472.1 kB / 363.3 MB, free: 7.633 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches