Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001505, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.459/1.459, allocations: 227.7 MB / 247.7 MB, free: 10.37 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 73.19 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.112, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003838/0.1158, allocations: 1.897 MB / 360.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1181, allocations: 1.219 MB / 361.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1183, allocations: 0 / 361.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.119, allocations: 154.9 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.1194, allocations: 155.4 kB / 361.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.12, allocations: 175.4 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.1202, allocations: 195.5 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1204, allocations: 41.53 kB / 362.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1205, allocations: 75.7 kB / 362.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1207, allocations: 67.64 kB / 362.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.1207, allocations: 8 kB / 362.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1209, allocations: 59.89 kB / 362.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.1209, allocations: 39.91 kB / 362.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.325e-05/0.121, allocations: 75.42 kB / 362.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.1214, allocations: 215.5 kB / 362.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1214, allocations: 0 / 362.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1214, allocations: 4 kB / 362.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1214, allocations: 4 kB / 362.8 MB, free: 9.566 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008925/0.1223, allocations: 0.504 MB / 363.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1224, allocations: 8.031 kB / 363.3 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.1225, allocations: 28.59 kB / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.1229, allocations: 258.9 kB / 363.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1229, allocations: 8.312 kB / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.1229, allocations: 16.11 kB / 363.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.1233, allocations: 150.7 kB / 363.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1233, allocations: 0 / 363.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1233, allocations: 0 / 363.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1233, allocations: 4 kB / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1235, allocations: 35.92 kB / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.1241, allocations: 362.4 kB / 364.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.1243, allocations: 111.9 kB / 364.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.1244, allocations: 42.56 kB / 364.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1245, allocations: 0 / 364.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.1247, allocations: 75.33 kB / 364.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1247, allocations: 0 / 364.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003769/0.125, allocations: 141.4 kB / 364.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.1252, allocations: 132.5 kB / 364.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.1255, allocations: 280.9 kB / 364.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1255, allocations: 25.7 kB / 364.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1256, allocations: 116.4 kB / 365.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.1257, allocations: 23.75 kB / 365.1 MB, free: 7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.1257, allocations: 33.7 kB / 365.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1259, allocations: 326.8 kB / 365.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.126, allocations: 23.98 kB / 365.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1261, allocations: 74.25 kB / 365.5 MB, free: 6.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1263, allocations: 80.25 kB / 365.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1263, allocations: 0 / 365.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002334/0.1265, allocations: 117.5 kB / 365.7 MB, free: 6.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1266, allocations: 8 kB / 365.7 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1266, allocations: 4 kB / 365.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1266, allocations: 0 / 365.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.1267, allocations: 15.98 kB / 365.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1267, allocations: 3.938 kB / 365.8 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.226e-05/0.1268, allocations: 15.84 kB / 365.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1268, allocations: 4 kB / 365.8 MB, free: 6.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001807/0.127, allocations: 141.8 kB / 365.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.1271, allocations: 69.44 kB / 366 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/0.1272, allocations: 25.7 kB / 366 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1272, allocations: 0 / 366 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1272, allocations: 4 kB / 366 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1272, allocations: 3.938 kB / 366 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1275, allocations: 225.4 kB / 366.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1275, allocations: 4 kB / 366.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.1276, allocations: 7.984 kB / 366.2 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1276, allocations: 0 / 366.2 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1276, allocations: 4.062 kB / 366.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1276, allocations: 4 kB / 366.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1276, allocations: 64 / 366.3 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.1279, allocations: 158.5 kB / 366.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.128, allocations: 104.9 kB / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.1281, allocations: 4 kB / 366.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.587e-05/0.1281, allocations: 8 kB / 366.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1282, allocations: 7.984 kB / 366.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.1282, allocations: 11.94 kB / 366.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002698/0.1285, allocations: 200.4 kB / 366.7 MB, free: 5.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.1285, allocations: 0 / 366.7 MB, free: 5.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1288, allocations: 35.84 kB / 366.8 MB, free: 5.141 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00167/0.1305, allocations: 416.4 kB / 367.2 MB, free: 4.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.1307, allocations: 75.91 kB / 367.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1307, allocations: 0 / 367.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.1308, allocations: 31.88 kB / 367.3 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1313, allocations: 59.06 kB / 367.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.132, allocations: 354.8 kB / 367.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.1324, allocations: 0.728 MB / 368.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.1325, allocations: 19.44 kB / 368.4 MB, free: 3.559 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1325, allocations: 0 / 368.4 MB, free: 3.559 MB / 302.1 MB Notification: Performance of Templates: time 0.00551/0.138, allocations: 2.644 MB / 371.1 MB, free: 0.9258 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches