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.001213/0.001213, allocations: 110.2 kB / 16.92 MB, free: 5.82 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.001294/0.001294, allocations: 191.5 kB / 17.85 MB, free: 5.16 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.496/1.496, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 47.55 kB / 300.6 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 49.45 MB / 350.1 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003384/0.1162, allocations: 1.472 MB / 351.5 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000417/0.1167, allocations: 137 kB / 351.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.1168, allocations: 3.938 kB / 351.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.1168, allocations: 3.984 kB / 351.7 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.117, allocations: 7.938 kB / 351.7 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1172, allocations: 36.34 kB / 351.7 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.821e-05/0.1173, allocations: 27.92 kB / 351.7 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1175, allocations: 11.98 kB / 351.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.192e-05/0.1175, allocations: 15.92 kB / 351.8 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.848e-05/0.1175, allocations: 11.94 kB / 351.8 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1176, allocations: 4 kB / 351.8 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.1176, allocations: 0 / 351.8 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.1176, allocations: 15.92 kB / 351.8 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.1177, allocations: 15.88 kB / 351.8 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.426e-05/0.1178, allocations: 43.75 kB / 351.9 MB, free: 2.621 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1178, allocations: 0 / 351.9 MB, free: 2.621 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1178, allocations: 4 kB / 351.9 MB, free: 2.617 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1178, allocations: 0 / 351.9 MB, free: 2.617 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.0004173/0.1182, allocations: 363.5 kB / 352.2 MB, free: 2.211 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1183, allocations: 8.031 kB / 352.2 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.1183, allocations: 12.83 kB / 352.2 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.1185, allocations: 184.2 kB / 352.4 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1185, allocations: 384 / 352.4 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1185, allocations: 384 / 352.4 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1187, allocations: 89.61 kB / 352.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1188, allocations: 8.188 kB / 352.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1188, allocations: 11.94 kB / 352.5 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1188, allocations: 0 / 352.5 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.03e-05/0.1189, allocations: 7.938 kB / 352.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.1192, allocations: 257.8 kB / 352.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.587e-05/0.1192, allocations: 49.09 kB / 352.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.1193, allocations: 17.78 kB / 352.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.1193, allocations: 3.984 kB / 352.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1193, allocations: 30.56 kB / 352.9 MB, free: 1.402 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1193, allocations: 0 / 352.9 MB, free: 1.402 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002162/0.1196, allocations: 61.62 kB / 352.9 MB, free: 1.336 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1196, allocations: 81.11 kB / 353 MB, free: 1.238 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1198, allocations: 132.9 kB / 353.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1198, allocations: 25.7 kB / 353.2 MB, free: 1.07 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.1198, allocations: 84.14 kB / 353.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.1199, allocations: 4 kB / 353.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.1199, allocations: 17.61 kB / 353.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.12, allocations: 323 kB / 353.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.1201, allocations: 7.938 kB / 353.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.1201, allocations: 17.7 kB / 353.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.054e-05/0.1202, allocations: 17.72 kB / 353.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1202, allocations: 4 kB / 353.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.137e-05/0.1203, allocations: 57.62 kB / 353.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1203, allocations: 4 kB / 353.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1203, allocations: 3.938 kB / 353.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1203, allocations: 0 / 353.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.04e-05/0.1204, allocations: 4 kB / 353.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1204, allocations: 0 / 353.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.1204, allocations: 3.984 kB / 353.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1204, allocations: 0 / 353.7 MB, free: 0.4961 MB / 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.0001003/0.1205, allocations: 129.8 kB / 353.8 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.1206, allocations: 41.48 kB / 353.9 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.1206, allocations: 11.52 kB / 353.9 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1206, allocations: 0 / 353.9 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1206, allocations: 0 / 353.9 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1206, allocations: 0 / 353.9 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1208, allocations: 165.6 kB / 354.1 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1208, allocations: 4 kB / 354.1 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-06/0.1208, allocations: 0 / 354.1 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1208, allocations: 0 / 354.1 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1209, allocations: 0 / 354.1 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1209, allocations: 8.016 kB / 354.1 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1209, allocations: 4 kB / 354.1 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.121, allocations: 156.2 kB / 354.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.1211, allocations: 85.09 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1211, allocations: 4 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/0.1212, allocations: 8.031 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.1212, allocations: 0 / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1212, allocations: 4 kB / 354.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.756e-05/0.1213, allocations: 103.2 kB / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1213, allocations: 0 / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.1215, allocations: 4 kB / 354.4 MB, free: 15.68 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 8.965e-05/0.1216, allocations: 103.7 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.1218, allocations: 28 kB / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1218, allocations: 0 / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.722e-05/0.1218, allocations: 7.984 kB / 354.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.1221, allocations: 18.72 kB / 354.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.1224, allocations: 146.4 kB / 354.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1227, allocations: 0.6846 MB / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.127e-05/0.1227, allocations: 0 / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.1227, allocations: 15.38 kB / 355.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1228, allocations: 0 / 355.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of Templates: time 0.002509/0.1253, allocations: 441.6 kB / 355.9 MB, free: 14.19 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/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