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.001769/0.001769, allocations: 104.7 kB / 16.45 MB, free: 6.434 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.001472/0.001473, allocations: 189.5 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.654/1.654, 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.07051/0.07051, allocations: 12.59 MB / 283.2 MB, free: 15.41 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.001843/0.001843, allocations: 86.81 kB / 394.2 MB, free: 45.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1175, allocations: 49.41 MB / 443.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.002775/0.1203, allocations: 1.492 MB / 445.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000408/0.1207, allocations: 143.5 kB / 445.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.08e-05/0.1208, allocations: 0 / 445.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.285e-05/0.1209, allocations: 3.938 kB / 445.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.121, allocations: 11.94 kB / 445.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.1213, allocations: 43.89 kB / 445.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.505e-05/0.1214, allocations: 31.86 kB / 445.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1215, allocations: 11.98 kB / 445.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.1216, allocations: 15.92 kB / 445.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.175e-05/0.1216, allocations: 15.92 kB / 445.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1216, allocations: 8 kB / 445.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.1216, allocations: 4 kB / 445.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.1217, allocations: 11.94 kB / 445.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.1217, allocations: 15.88 kB / 445.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1219, allocations: 39.81 kB / 445.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1219, allocations: 7.938 kB / 445.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1219, allocations: 0 / 445.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1219, allocations: 0 / 445.4 MB, free: 14.75 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.0004881/0.1224, allocations: 371.1 kB / 445.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1224, allocations: 16.03 kB / 445.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.1225, allocations: 4.844 kB / 445.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1227, allocations: 192.2 kB / 446 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1227, allocations: 384 / 446 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1228, allocations: 8.375 kB / 446 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.123, allocations: 113.6 kB / 446.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1231, allocations: 192 / 446.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1231, allocations: 7.875 kB / 446.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1231, allocations: 3.938 kB / 446.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.082e-05/0.1231, allocations: 19.98 kB / 446.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.1235, allocations: 249.7 kB / 446.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1237, allocations: 146.2 kB / 446.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.1237, allocations: 25.77 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.1238, allocations: 4 kB / 446.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.1238, allocations: 30.56 kB / 446.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1238, allocations: 4 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002408/0.1241, allocations: 69.61 kB / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.1242, allocations: 85.23 kB / 446.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1243, allocations: 137.7 kB / 446.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1244, allocations: 29.7 kB / 446.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.1244, allocations: 88.12 kB / 447 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.1244, allocations: 0 / 447 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.1245, allocations: 33.77 kB / 447 MB, free: 12.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1247, allocations: 318.8 kB / 447.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.1247, allocations: 4 kB / 447.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.1248, allocations: 35.41 kB / 447.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.224e-05/0.1249, allocations: 47.36 kB / 447.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1249, allocations: 0 / 447.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.125, allocations: 65.47 kB / 447.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.125, allocations: 4 kB / 447.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.125, allocations: 0 / 447.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.125, allocations: 4 kB / 447.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-05/0.1251, allocations: 8.062 kB / 447.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1251, allocations: 0 / 447.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.1251, allocations: 4 kB / 447.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1251, allocations: 4 kB / 447.5 MB, free: 12.36 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.0001064/0.1253, allocations: 125.8 kB / 447.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.1253, allocations: 45.61 kB / 447.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.1254, allocations: 11.89 kB / 447.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1254, allocations: 4 kB / 447.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1254, allocations: 0 / 447.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1254, allocations: 4 kB / 447.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.1256, allocations: 169.6 kB / 447.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1256, allocations: 0 / 447.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.1256, allocations: 7.938 kB / 447.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1256, allocations: 0 / 447.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1256, allocations: 0 / 447.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1257, allocations: 0 / 447.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1257, allocations: 0 / 447.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.1258, allocations: 172.2 kB / 448 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.1259, allocations: 93.03 kB / 448.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1259, allocations: 4 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.074e-05/0.126, allocations: 0 / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.126, allocations: 0 / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.126, allocations: 4 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.17e-05/0.1261, allocations: 99.27 kB / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1261, allocations: 0 / 448.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.1263, allocations: 4 kB / 448.2 MB, free: 11.52 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.0001254/0.1265, allocations: 115.1 kB / 448.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.1266, allocations: 23.98 kB / 448.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1266, allocations: 3.938 kB / 448.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.1267, allocations: 4 kB / 448.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.127, allocations: 19.95 kB / 448.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.1274, allocations: 142.7 kB / 448.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1277, allocations: 0.6885 MB / 449.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.991e-05/0.1278, allocations: 4 kB / 449.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.1278, allocations: 11.44 kB / 449.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1278, allocations: 0 / 449.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of Templates: time 0.003378/0.1312, allocations: 0.5085 MB / 449.7 MB, free: 9.941 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