Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 92.58 kB / 16.3 MB, free: 6.461 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.001517/0.001517, allocations: 182.6 kB / 17.19 MB, free: 6.34 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.596/1.596, allocations: 223.2 MB / 241.1 MB, free: 5.363 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003808, allocations: 11.69 kB / 300.7 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 50.42 MB / 351.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001792/0.1192, allocations: 1.209 MB / 352.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003328/0.1196, allocations: 139.6 kB / 352.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.1197, allocations: 0 / 352.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.1197, allocations: 3.938 kB / 352.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.822e-05/0.1198, allocations: 4 kB / 352.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1201, allocations: 31.84 kB / 352.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.1201, allocations: 23.97 kB / 352.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1203, allocations: 15.98 kB / 352.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.1203, allocations: 7.938 kB / 352.6 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.1203, allocations: 19.91 kB / 352.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1204, allocations: 0 / 352.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.1204, allocations: 0 / 352.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.1204, allocations: 7.938 kB / 352.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.1205, allocations: 33.7 kB / 352.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.157e-05/0.1205, allocations: 31.94 kB / 352.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1205, allocations: 0 / 352.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1206, allocations: 0 / 352.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1206, allocations: 7.938 kB / 352.7 MB, free: 10.12 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.0004575/0.121, allocations: 347.2 kB / 353 MB, free: 9.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1211, allocations: 8.031 kB / 353 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1211, allocations: 11.86 kB / 353 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1214, allocations: 190.9 kB / 353.2 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.1214, allocations: 0 / 353.2 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1214, allocations: 7.938 kB / 353.2 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.1217, allocations: 120.9 kB / 353.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1217, allocations: 0 / 353.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1217, allocations: 0 / 353.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1217, allocations: 0 / 353.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.1218, allocations: 19.95 kB / 353.4 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.1222, allocations: 261.8 kB / 353.6 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1223, allocations: 138.2 kB / 353.8 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.1224, allocations: 0 / 353.8 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1224, allocations: 42.56 kB / 353.8 MB, free: 8.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.816e-06/0.1224, allocations: 0 / 353.8 MB, free: 8.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002481/0.1227, allocations: 81.62 kB / 353.9 MB, free: 8.703 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.1227, allocations: 81.05 kB / 354 MB, free: 8.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1229, allocations: 129.8 kB / 354.1 MB, free: 8.469 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1229, allocations: 25.7 kB / 354.1 MB, free: 8.438 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.123, allocations: 96.17 kB / 354.2 MB, free: 8.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.123, allocations: 3.984 kB / 354.2 MB, free: 8.336 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.123, allocations: 0 / 354.2 MB, free: 8.336 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1231, allocations: 314.8 kB / 354.5 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.1232, allocations: 4 kB / 354.5 MB, free: 8.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.1232, allocations: 31.42 kB / 354.5 MB, free: 7.973 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.1233, allocations: 16 kB / 354.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1233, allocations: 0 / 354.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001188/0.1234, allocations: 61.56 kB / 354.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1234, allocations: 4 kB / 354.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1234, allocations: 8.109 kB / 354.6 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1235, allocations: 4 kB / 354.6 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.475e-05/0.1235, allocations: 7.953 kB / 354.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1235, allocations: 0 / 354.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.1235, allocations: 0 / 354.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1235, allocations: 8 kB / 354.7 MB, free: 7.859 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.182e-05/0.1236, allocations: 113.8 kB / 354.8 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.1237, allocations: 53.53 kB / 354.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.1238, allocations: 7.906 kB / 354.8 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1238, allocations: 4 kB / 354.8 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.1238, allocations: 7.938 kB / 354.8 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1238, allocations: 7.938 kB / 354.8 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.124, allocations: 161.7 kB / 355 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.124, allocations: 3.984 kB / 355 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-06/0.124, allocations: 0 / 355 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.124, allocations: 0 / 355 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.124, allocations: 4 kB / 355 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1241, allocations: 0 / 355 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1241, allocations: 3.938 kB / 355 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1242, allocations: 186 kB / 355.2 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.1243, allocations: 89 kB / 355.3 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1243, allocations: 4 kB / 355.3 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.007e-05/0.1244, allocations: 7.984 kB / 355.3 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.1244, allocations: 7.953 kB / 355.3 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-06/0.1245, allocations: 4 kB / 355.3 MB, free: 7.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.032e-05/0.1245, allocations: 101.6 kB / 355.4 MB, free: 6.992 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1245, allocations: 0 / 355.4 MB, free: 6.992 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1248, allocations: 8 kB / 355.4 MB, free: 6.984 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001027/0.1249, allocations: 99.25 kB / 355.5 MB, free: 6.879 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.125, allocations: 27.92 kB / 355.5 MB, free: 6.852 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.125, allocations: 4.25 kB / 355.5 MB, free: 6.848 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.64e-05/0.125, allocations: 7.984 kB / 355.5 MB, free: 6.84 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1253, allocations: 16.41 kB / 355.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.1256, allocations: 161.7 kB / 355.7 MB, free: 6.633 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1259, allocations: 0.6928 MB / 356.4 MB, free: 5.914 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.276e-05/0.1259, allocations: 4 kB / 356.4 MB, free: 5.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.1259, allocations: 11.42 kB / 356.4 MB, free: 5.898 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.126, allocations: 7.938 kB / 356.4 MB, free: 5.891 MB / 286.1 MB Notification: Performance of Templates: time 0.00229/0.1282, allocations: 426.3 kB / 356.9 MB, free: 5.477 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches