Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.StateGraph.Examples.FirstExample_Variant2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.FirstExample_Variant2") Notification: Performance of loadModel(Modelica): time 1.907/1.907, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005261, allocations: 8 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 44.51 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.003104/0.1216, allocations: 1.358 MB / 310.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.1225, allocations: 263.2 kB / 310.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1227, allocations: 7.938 kB / 310.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1229, allocations: 19.86 kB / 310.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.1229, allocations: 7.922 kB / 310.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.1235, allocations: 95.81 kB / 310.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.124, allocations: 163.7 kB / 311 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.1244, allocations: 141.6 kB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.1246, allocations: 63.78 kB / 311.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.1248, allocations: 79.61 kB / 311.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.1249, allocations: 12 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.57e-05/0.125, allocations: 15.98 kB / 311.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.987e-05/0.1251, allocations: 43.84 kB / 311.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.593e-05/0.1252, allocations: 49.64 kB / 311.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.1256, allocations: 155.7 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1256, allocations: 0 / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.212e-06/0.1256, allocations: 0 / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1256, allocations: 3.938 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0009769/0.1266, allocations: 450.2 kB / 311.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.1267, allocations: 12.03 kB / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.1268, allocations: 19.72 kB / 312 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.1272, allocations: 230.8 kB / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/0.1273, allocations: 24.56 kB / 312.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.1274, allocations: 28 kB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/0.1283, allocations: 262 kB / 312.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1284, allocations: 0 / 312.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.1284, allocations: 12 kB / 312.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.1285, allocations: 8 kB / 312.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007069/0.1292, allocations: 169.6 kB / 312.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.1314, allocations: 0.9599 MB / 313.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.132, allocations: 163.2 kB / 313.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.1321, allocations: 8.078 kB / 313.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004136/0.1325, allocations: 115.4 kB / 313.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 4.799e-06/0.1325, allocations: 0 / 313.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008645/0.1334, allocations: 213.8 kB / 314.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.1335, allocations: 59.41 kB / 314.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1337, allocations: 149.9 kB / 314.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.1338, allocations: 41.7 kB / 314.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.134, allocations: 136.5 kB / 314.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1341, allocations: 63.19 kB / 314.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.1341, allocations: 8 kB / 314.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1344, allocations: 326.8 kB / 314.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.1346, allocations: 60.62 kB / 315 MB, free: 10.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.135, allocations: 137.8 kB / 315.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.1353, allocations: 67.94 kB / 315.2 MB, free: 9.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1354, allocations: 0 / 315.2 MB, free: 9.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008875/0.1363, allocations: 253.2 kB / 315.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.1363, allocations: 8 kB / 315.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1363, allocations: 288 / 315.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.1364, allocations: 12 kB / 315.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.1367, allocations: 35.91 kB / 315.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.1368, allocations: 7.938 kB / 315.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.137, allocations: 19.84 kB / 315.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.1371, allocations: 16 kB / 315.5 MB, free: 9.594 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$whenCondition2,$whenCondition1,initialStep.active,$PRE.initialStep.localActive,initialStep.localActive,$PRE.initialStep.newActive,initialStep.newActive,$PRE.initialStep.oldActive,initialStep.oldActive,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step.localActive,step.localActive,$PRE.step.newActive,step.newActive,$PRE.step.oldActive,step.oldActive,step.active,transition2.condition,transition2.enableFire,$PRE.timer.entryTime,timer.entryTime,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002939/0.1374, allocations: 156.3 kB / 315.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.1375, allocations: 19.77 kB / 315.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007366/0.1382, allocations: 198.7 kB / 315.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.1383, allocations: 3.984 kB / 315.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1383, allocations: 0 / 315.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.1384, allocations: 92.86 kB / 316 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.1385, allocations: 8 kB / 316 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1386, allocations: 7.984 kB / 316 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.1388, allocations: 19.97 kB / 316 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007442/0.1395, allocations: 269 kB / 316.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006636/0.1402, allocations: 354.4 kB / 316.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002876/0.1405, allocations: 75.91 kB / 316.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1407, allocations: 103.2 kB / 316.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of Backend: time 1.012e-06/0.1407, allocations: 4 kB / 316.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009601/0.1417, allocations: 200.1 kB / 317 MB, free: 8.051 MB / 266.7 MB Notification: Performance of SimCode: time 0.001319/0.143, allocations: 0.7935 MB / 317.8 MB, free: 7.211 MB / 266.7 MB Notification: Performance of Templates: time 0.009555/0.1526, allocations: 1.712 MB / 319.5 MB, free: 5.504 MB / 266.7 MB "" Variables in the reference:time,transition1.enableFire,transition2.enableFire Variables in the result:greaterEqual.threshold,initialStep.nIn,initialStep.nOut,step.nIn,step.nOut,time,transition1.enableFire,transition1.enableTimer,transition1.waitTime,transition2.enableFire,transition2.enableTimer,transition2.waitTime