Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 116.4 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 51.3 kB / 302.1 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 49.45 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002973/0.1257, allocations: 1.499 MB / 353 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003838/0.1261, allocations: 149 kB / 353.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.1262, allocations: 0 / 353.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.1262, allocations: 7.922 kB / 353.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.1264, allocations: 7.938 kB / 353.2 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1266, allocations: 35.84 kB / 353.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.1267, allocations: 35.84 kB / 353.2 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1269, allocations: 12 kB / 353.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.1269, allocations: 23.91 kB / 353.3 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.127, allocations: 11.94 kB / 353.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.127, allocations: 4 kB / 353.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.127, allocations: 0 / 353.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.127, allocations: 15.92 kB / 353.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.1271, allocations: 23.81 kB / 353.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.1272, allocations: 43.81 kB / 353.4 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1272, allocations: 0 / 353.4 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1272, allocations: 4 kB / 353.4 MB, free: 1.836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1272, allocations: 0 / 353.4 MB, free: 1.836 MB / 286.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.0004425/0.1277, allocations: 371.2 kB / 353.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1277, allocations: 8.031 kB / 353.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.1278, allocations: 8.844 kB / 353.8 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.128, allocations: 188.2 kB / 353.9 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1281, allocations: 4.375 kB / 353.9 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.1281, allocations: 8.375 kB / 354 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.1284, allocations: 125.4 kB / 354.1 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1284, allocations: 192 / 354.1 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1284, allocations: 3.938 kB / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1284, allocations: 0 / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.343e-05/0.1285, allocations: 23.92 kB / 354.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.1288, allocations: 257.8 kB / 354.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.1291, allocations: 142.2 kB / 354.5 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.822e-05/0.1292, allocations: 29.77 kB / 354.5 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1292, allocations: 0 / 354.5 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1292, allocations: 34.56 kB / 354.6 MB, free: 456 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1292, allocations: 0 / 354.6 MB, free: 456 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002569/0.1295, allocations: 81.69 kB / 354.6 MB, free: 368 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.1296, allocations: 81.11 kB / 354.7 MB, free: 268 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1297, allocations: 134.1 kB / 354.8 MB, free: 120 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1297, allocations: 25.83 kB / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.1298, allocations: 88.22 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.1298, allocations: 4 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.1298, allocations: 25.61 kB / 355 MB, free: 15.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.13, allocations: 310.8 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.257e-05/0.13, allocations: 15.98 kB / 355.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.1301, allocations: 31.36 kB / 355.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.004e-05/0.1301, allocations: 51.36 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1301, allocations: 0 / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.1303, allocations: 73.61 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1303, allocations: 8 kB / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1303, allocations: 0 / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1303, allocations: 0 / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.1304, allocations: 11.98 kB / 355.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1304, allocations: 3.984 kB / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.1305, allocations: 7.938 kB / 355.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1305, allocations: 0 / 355.5 MB, free: 15.41 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.000116/0.1306, allocations: 133.7 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.1307, allocations: 53.66 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.1307, allocations: 8.25 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1308, allocations: 7.938 kB / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1308, allocations: 3.984 kB / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1308, allocations: 0 / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1309, allocations: 161.6 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.131, allocations: 11.92 kB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.131, allocations: 4 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.131, allocations: 4 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1311, allocations: 4 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1311, allocations: 4 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1311, allocations: 0 / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.1312, allocations: 172.2 kB / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.1313, allocations: 89 kB / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1313, allocations: 4 kB / 356.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/0.1314, allocations: 4 kB / 356.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.1314, allocations: 7.984 kB / 356.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1314, allocations: 0 / 356.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.108e-05/0.1315, allocations: 105 kB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1315, allocations: 0 / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1318, allocations: 4 kB / 356.3 MB, free: 14.54 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 9.947e-05/0.1319, allocations: 95.25 kB / 356.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.132, allocations: 40.09 kB / 356.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.132, allocations: 0 / 356.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.1321, allocations: 8 kB / 356.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1324, allocations: 27.89 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.1327, allocations: 154.2 kB / 356.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.133, allocations: 0.6885 MB / 357.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.932e-05/0.1331, allocations: 8.125 kB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.1331, allocations: 7.438 kB / 357.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1331, allocations: 0 / 357.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of Templates: time 0.002819/0.1359, allocations: 0.4905 MB / 357.8 MB, free: 12.97 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches