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.001432/0.001431, allocations: 101 kB / 16.45 MB, free: 6.441 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.001392/0.001392, allocations: 188.9 kB / 17.39 MB, free: 5.688 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.738/1.738, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08452/0.08452, allocations: 12.6 MB / 283.2 MB, free: 15.4 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.001922/0.001922, allocations: 86.88 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1323, allocations: 49.4 MB / 443.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.003398/0.1358, allocations: 1.496 MB / 445.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004947/0.1363, allocations: 143.5 kB / 445.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1364, allocations: 4 kB / 445.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.13e-05/0.1365, allocations: 3.938 kB / 445.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.1367, allocations: 7.922 kB / 445.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.137, allocations: 39.91 kB / 445.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1371, allocations: 31.86 kB / 445.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1373, allocations: 19.98 kB / 445.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.1373, allocations: 7.938 kB / 445.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.1374, allocations: 19.92 kB / 445.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1374, allocations: 0 / 445.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.1374, allocations: 4 kB / 445.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.1375, allocations: 15.92 kB / 445.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.1376, allocations: 19.88 kB / 445.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1377, allocations: 43.77 kB / 445.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1377, allocations: 7.922 kB / 445.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1377, allocations: 0 / 445.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1377, allocations: 0 / 445.4 MB, free: 14.62 MB / 334.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.0005974/0.1384, allocations: 367.1 kB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1384, allocations: 20.02 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.1385, allocations: 8.844 kB / 445.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.1388, allocations: 188.1 kB / 446 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.1388, allocations: 8.375 kB / 446 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.1388, allocations: 384 / 446 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.1391, allocations: 117.5 kB / 446.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1392, allocations: 4.172 kB / 446.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1392, allocations: 3.938 kB / 446.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1392, allocations: 4 kB / 446.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.1393, allocations: 15.98 kB / 446.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1397, allocations: 269.7 kB / 446.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1398, allocations: 126.3 kB / 446.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.1399, allocations: 29.77 kB / 446.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1399, allocations: 0 / 446.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.14, allocations: 42.5 kB / 446.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.14, allocations: 0 / 446.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000341/0.1403, allocations: 69.61 kB / 446.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.1404, allocations: 77.11 kB / 446.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1406, allocations: 141.7 kB / 446.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1406, allocations: 25.7 kB / 446.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.1406, allocations: 84.12 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.1407, allocations: 4.125 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.1407, allocations: 33.66 kB / 447 MB, free: 12.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.1409, allocations: 310.8 kB / 447.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.141, allocations: 7.984 kB / 447.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/0.141, allocations: 27.44 kB / 447.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.1411, allocations: 47.36 kB / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1411, allocations: 0 / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001155/0.1412, allocations: 65.47 kB / 447.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1413, allocations: 4 kB / 447.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1413, allocations: 8 kB / 447.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1413, allocations: 8.062 kB / 447.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-06/0.1413, allocations: 0 / 447.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1413, allocations: 4 kB / 447.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.1414, allocations: 7.984 kB / 447.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1414, allocations: 7.938 kB / 447.5 MB, free: 12.23 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.1415, allocations: 117.8 kB / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.1416, allocations: 49.59 kB / 447.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.1416, allocations: 7.906 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1416, allocations: 3.938 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1416, allocations: 4 kB / 447.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1416, allocations: 0 / 447.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.1419, allocations: 169.6 kB / 447.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1419, allocations: 4 kB / 447.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-06/0.1419, allocations: 0 / 447.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1419, allocations: 0 / 447.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.142, allocations: 336 / 447.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.142, allocations: 4 kB / 447.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.142, allocations: 3.984 kB / 447.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1421, allocations: 172.2 kB / 448 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.1422, allocations: 89.03 kB / 448.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1422, allocations: 0 / 448.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.1423, allocations: 3.938 kB / 448.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1423, allocations: 8 kB / 448.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1423, allocations: 0 / 448.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.388e-05/0.1424, allocations: 103.2 kB / 448.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1424, allocations: 0 / 448.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.1427, allocations: 12 kB / 448.2 MB, free: 11.39 MB / 334.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 (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.0001167/0.1428, allocations: 95.19 kB / 448.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.1429, allocations: 27.92 kB / 448.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.143, allocations: 0 / 448.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.143, allocations: 4 kB / 448.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1434, allocations: 23.95 kB / 448.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.1438, allocations: 154.6 kB / 448.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.1441, allocations: 0.6885 MB / 449.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.398e-05/0.1442, allocations: 4 kB / 449.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.1442, allocations: 11.44 kB / 449.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1442, allocations: 0 / 449.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Templates: time 0.003228/0.1475, allocations: 496.4 kB / 449.7 MB, free: 9.836 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches