Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001568/0.001568, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002904/0.002904, allocations: 175.4 kB / 16.63 MB, free: 6.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09165/0.09165, allocations: 12.6 MB / 283.7 MB, free: 8.676 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008389/0.000839, allocations: 24 kB / 344.5 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1206, allocations: 50.37 MB / 394.9 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.001991/0.1226, allocations: 1.204 MB / 396.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003845/0.123, allocations: 139.7 kB / 396.3 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.698e-05/0.1231, allocations: 3.938 kB / 396.3 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.1231, allocations: 3.984 kB / 396.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.1233, allocations: 11.88 kB / 396.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1235, allocations: 35.91 kB / 396.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.8e-05/0.1236, allocations: 31.86 kB / 396.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.114e-05/0.1237, allocations: 11.98 kB / 396.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.275e-05/0.1238, allocations: 7.984 kB / 396.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.618e-05/0.1238, allocations: 15.86 kB / 396.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1238, allocations: 0 / 396.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.1239, allocations: 0 / 396.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.1239, allocations: 15.94 kB / 396.4 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.124, allocations: 29.64 kB / 396.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.737e-05/0.124, allocations: 27.95 kB / 396.4 MB, free: 1.234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.124, allocations: 4 kB / 396.5 MB, free: 1.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1241, allocations: 0 / 396.5 MB, free: 1.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1241, allocations: 0 / 396.5 MB, free: 1.23 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.0005152/0.1246, allocations: 355.4 kB / 396.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1246, allocations: 8.031 kB / 396.8 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.1247, allocations: 7.906 kB / 396.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.125, allocations: 198.8 kB / 397 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.125, allocations: 4 kB / 397 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.1251, allocations: 15.95 kB / 397 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.1255, allocations: 105 kB / 397.1 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1255, allocations: 0 / 397.1 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1255, allocations: 0 / 397.1 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1255, allocations: 0 / 397.1 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.085e-05/0.1256, allocations: 31.86 kB / 397.2 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.126, allocations: 257.7 kB / 397.4 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1263, allocations: 142.2 kB / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/0.1264, allocations: 25.78 kB / 397.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1264, allocations: 0 / 397.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.1264, allocations: 34.55 kB / 397.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1265, allocations: 0 / 397.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002755/0.1267, allocations: 73.73 kB / 397.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.1268, allocations: 85.11 kB / 397.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.127, allocations: 137.7 kB / 397.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.127, allocations: 29.7 kB / 397.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.1271, allocations: 84.14 kB / 398 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.1271, allocations: 0 / 398 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.1271, allocations: 4 kB / 398 MB, free: 15.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1273, allocations: 310.8 kB / 398.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.58e-05/0.1273, allocations: 15.98 kB / 398.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.1274, allocations: 31.38 kB / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.997e-05/0.1274, allocations: 19.94 kB / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1275, allocations: 0 / 398.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001207/0.1276, allocations: 61.62 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.1276, allocations: 11.94 kB / 398.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1276, allocations: 0 / 398.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1277, allocations: 0 / 398.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.579e-05/0.1277, allocations: 4 kB / 398.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1277, allocations: 3.938 kB / 398.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.1277, allocations: 7.906 kB / 398.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1278, allocations: 0 / 398.5 MB, free: 14.93 MB / 302.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,sample.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 0.0001153/0.1279, allocations: 133.7 kB / 398.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.128, allocations: 37.7 kB / 398.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.128, allocations: 15.89 kB / 398.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.128, allocations: 0 / 398.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.128, allocations: 4 kB / 398.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.128, allocations: 0 / 398.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.1283, allocations: 169.6 kB / 398.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1283, allocations: 3.953 kB / 398.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.207e-05/0.1283, allocations: 0 / 398.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1283, allocations: 11.94 kB / 398.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1283, allocations: 3.938 kB / 398.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1283, allocations: 0 / 398.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1283, allocations: 0 / 398.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.1286, allocations: 164.4 kB / 399 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.1287, allocations: 96.95 kB / 399.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1287, allocations: 4 kB / 399.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.1287, allocations: 4 kB / 399.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1288, allocations: 4 kB / 399.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.1288, allocations: 0 / 399.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.051e-05/0.1289, allocations: 103.2 kB / 399.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1289, allocations: 4 kB / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1291, allocations: 4 kB / 399.2 MB, free: 14.07 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,sample.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 9.996e-05/0.1292, allocations: 95.19 kB / 399.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.1294, allocations: 27.98 kB / 399.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1294, allocations: 0 / 399.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.1294, allocations: 7.938 kB / 399.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1298, allocations: 28.02 kB / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.1301, allocations: 162 kB / 399.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1304, allocations: 0.6926 MB / 400.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.757e-05/0.1305, allocations: 0 / 400.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.1305, allocations: 7.438 kB / 400.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1305, allocations: 4 kB / 400.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of Templates: time 0.002741/0.1333, allocations: 447 kB / 400.7 MB, free: 12.55 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches