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.001208/0.001208, allocations: 108.9 kB / 17.28 MB, free: 6.059 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.001391/0.001391, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.38/1.38, allocations: 222.9 MB / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 50.8 kB / 300.8 MB, free: 5.965 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1083, allocations: 49.44 MB / 350.2 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003108/0.1115, allocations: 1.561 MB / 351.8 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004117/0.1119, allocations: 139.6 kB / 351.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.112, allocations: 4 kB / 351.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.159e-05/0.1121, allocations: 3.938 kB / 351.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.1122, allocations: 7.984 kB / 351.9 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1125, allocations: 37.28 kB / 352 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.263e-05/0.1126, allocations: 31.86 kB / 352 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1127, allocations: 16 kB / 352 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.1128, allocations: 11.98 kB / 352 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.1128, allocations: 15.88 kB / 352.1 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1128, allocations: 4 kB / 352.1 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.1129, allocations: 0 / 352.1 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.1129, allocations: 19.91 kB / 352.1 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.113, allocations: 15.88 kB / 352.1 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.1131, allocations: 31.95 kB / 352.1 MB, free: 2.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1131, allocations: 0 / 352.1 MB, free: 2.609 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1131, allocations: 4 kB / 352.1 MB, free: 2.605 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1131, allocations: 3.938 kB / 352.1 MB, free: 2.602 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.000453/0.1136, allocations: 365.8 kB / 352.5 MB, free: 2.195 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1136, allocations: 12.03 kB / 352.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.1136, allocations: 8.844 kB / 352.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.1138, allocations: 192.2 kB / 352.7 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1139, allocations: 384 / 352.7 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1139, allocations: 4.375 kB / 352.7 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.1141, allocations: 117.5 kB / 352.8 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1142, allocations: 192 / 352.8 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1142, allocations: 3.938 kB / 352.8 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1142, allocations: 3.938 kB / 352.8 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.523e-05/0.1143, allocations: 12 kB / 352.8 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.1146, allocations: 265.7 kB / 353.1 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1147, allocations: 138.2 kB / 353.2 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.1148, allocations: 25.77 kB / 353.3 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1148, allocations: 11.98 kB / 353.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1149, allocations: 38.5 kB / 353.3 MB, free: 1.219 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1149, allocations: 0 / 353.3 MB, free: 1.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002109/0.1151, allocations: 61.69 kB / 353.4 MB, free: 1.152 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.1152, allocations: 85.03 kB / 353.5 MB, free: 1.051 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1153, allocations: 137.2 kB / 353.6 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1153, allocations: 29.83 kB / 353.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.1153, allocations: 88.14 kB / 353.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.1154, allocations: 0 / 353.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.1154, allocations: 17.72 kB / 353.7 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1155, allocations: 314.8 kB / 354 MB, free: 456 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/0.1155, allocations: 8 kB / 354 MB, free: 448 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.1156, allocations: 31.42 kB / 354.1 MB, free: 404 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.215e-05/0.1157, allocations: 43.38 kB / 354.1 MB, free: 348 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1157, allocations: 0 / 354.1 MB, free: 348 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001034/0.1158, allocations: 65.59 kB / 354.2 MB, free: 276 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1158, allocations: 15.98 kB / 354.2 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1158, allocations: 3.938 kB / 354.2 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1158, allocations: 0 / 354.2 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.356e-05/0.1158, allocations: 7.938 kB / 354.2 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1159, allocations: 0 / 354.2 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.1159, allocations: 11.94 kB / 354.2 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1159, allocations: 0 / 354.2 MB, free: 236 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.614e-05/0.116, allocations: 125.8 kB / 354.3 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.1161, allocations: 45.61 kB / 354.4 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.1161, allocations: 15.89 kB / 354.4 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1161, allocations: 0 / 354.4 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1161, allocations: 4 kB / 354.4 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1161, allocations: 0 / 354.4 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1163, allocations: 165.6 kB / 354.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1163, allocations: 3.938 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-06/0.1163, allocations: 0 / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1163, allocations: 4 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1163, allocations: 4 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1163, allocations: 0 / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1163, allocations: 4 kB / 354.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1165, allocations: 160.2 kB / 354.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.1166, allocations: 89.03 kB / 354.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1166, allocations: 11.98 kB / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.1166, allocations: 0 / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.1167, allocations: 0 / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1167, allocations: 11.94 kB / 354.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.521e-05/0.1167, allocations: 99.27 kB / 354.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1167, allocations: 0 / 354.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.117, allocations: 4 kB / 354.9 MB, free: 15.39 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.435e-05/0.1171, allocations: 103.2 kB / 355 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1172, allocations: 31.92 kB / 355.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1172, allocations: 256 / 355.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.388e-05/0.1172, allocations: 8 kB / 355.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1176, allocations: 28.42 kB / 355.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.1179, allocations: 188.1 kB / 355.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1182, allocations: 0.6923 MB / 356 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.1182, allocations: 15.5 kB / 356 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1182, allocations: 3.938 kB / 356 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.0019/0.1201, allocations: 0.6788 MB / 356.7 MB, free: 13.57 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches