Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 104 kB / 17.59 MB, free: 5.559 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.001766/0.001766, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.388/1.388, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 43 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1157, allocations: 49.44 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003338/0.1191, allocations: 1.487 MB / 352.2 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004202/0.1196, allocations: 141 kB / 352.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.1197, allocations: 3.938 kB / 352.4 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.393e-05/0.1198, allocations: 0 / 352.4 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1199, allocations: 7.938 kB / 352.4 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1202, allocations: 42.95 kB / 352.4 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.1203, allocations: 23.98 kB / 352.4 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1204, allocations: 11.94 kB / 352.4 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.1204, allocations: 11.94 kB / 352.5 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.212e-05/0.1205, allocations: 15.92 kB / 352.5 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1205, allocations: 4 kB / 352.5 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.1205, allocations: 0 / 352.5 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.1206, allocations: 11.94 kB / 352.5 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.1206, allocations: 23.84 kB / 352.5 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.814e-05/0.1207, allocations: 31.84 kB / 352.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1207, allocations: 0 / 352.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1208, allocations: 0 / 352.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1208, allocations: 0 / 352.5 MB, free: 2.586 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005225/0.1213, allocations: 371.4 kB / 352.9 MB, free: 2.172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1213, allocations: 15.89 kB / 352.9 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1214, allocations: 8.844 kB / 352.9 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1216, allocations: 188.2 kB / 353.1 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.1216, allocations: 4.375 kB / 353.1 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1216, allocations: 384 / 353.1 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.1219, allocations: 89.61 kB / 353.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1219, allocations: 192 / 353.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1219, allocations: 3.938 kB / 353.2 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.122, allocations: 4 kB / 353.2 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.231e-05/0.122, allocations: 15.92 kB / 353.2 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.1224, allocations: 249.8 kB / 353.5 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.97e-05/0.1225, allocations: 57.08 kB / 353.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.1225, allocations: 13.78 kB / 353.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1226, allocations: 0 / 353.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1226, allocations: 34.56 kB / 353.6 MB, free: 1.359 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.1226, allocations: 0 / 353.6 MB, free: 1.359 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002187/0.1228, allocations: 61.53 kB / 353.6 MB, free: 1.293 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.1229, allocations: 85.05 kB / 353.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.123, allocations: 133.8 kB / 353.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1231, allocations: 25.7 kB / 353.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.1231, allocations: 80.14 kB / 353.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/0.1231, allocations: 0 / 353.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.1232, allocations: 21.62 kB / 354 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1233, allocations: 319.1 kB / 354.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.707e-05/0.1234, allocations: 7.984 kB / 354.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.803e-05/0.1234, allocations: 21.66 kB / 354.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/0.1235, allocations: 21.7 kB / 354.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1235, allocations: 4 kB / 354.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.551e-05/0.1236, allocations: 53.64 kB / 354.4 MB, free: 476 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1236, allocations: 4 kB / 354.4 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1236, allocations: 7.922 kB / 354.4 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1237, allocations: 0 / 354.4 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.957e-05/0.1237, allocations: 0 / 354.4 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1237, allocations: 4 kB / 354.4 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.1237, allocations: 4 kB / 354.4 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1237, allocations: 0 / 354.4 MB, free: 456 kB / 286.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 0.0001048/0.1238, allocations: 117.8 kB / 354.5 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.1239, allocations: 49.53 kB / 354.6 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.124, allocations: 7.531 kB / 354.6 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.124, allocations: 0 / 354.6 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.124, allocations: 0 / 354.6 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.124, allocations: 0 / 354.6 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.1242, allocations: 169.6 kB / 354.7 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1242, allocations: 4 kB / 354.7 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-06/0.1243, allocations: 0 / 354.7 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1243, allocations: 0 / 354.7 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1243, allocations: 32 / 354.7 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1243, allocations: 4 kB / 354.7 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1243, allocations: 4 kB / 354.8 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.1245, allocations: 152.2 kB / 354.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.1246, allocations: 89.09 kB / 355 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1246, allocations: 0 / 355 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-05/0.1247, allocations: 8.031 kB / 355 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1247, allocations: 7.969 kB / 355 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1247, allocations: 0 / 355 MB, free: 15.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.761e-05/0.1248, allocations: 107.2 kB / 355.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1248, allocations: 0 / 355.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00022/0.125, allocations: 4 kB / 355.1 MB, free: 15.63 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.0001638/0.1252, allocations: 102.4 kB / 355.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1253, allocations: 31.98 kB / 355.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1253, allocations: 0 / 355.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.1254, allocations: 7.938 kB / 355.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.1258, allocations: 15.95 kB / 355.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.1261, allocations: 168.2 kB / 355.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1264, allocations: 0.6885 MB / 356.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.1265, allocations: 7.438 kB / 356.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1265, allocations: 3.938 kB / 356.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Templates: time 0.002047/0.1285, allocations: 0.6093 MB / 356.7 MB, free: 13.93 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches