Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000934/0.000934, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009208/0.0009208, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9032/0.9032, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.598e-05, allocations: 5.406 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.00484/0.004856, allocations: 4.096 MB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.007168, allocations: 1.241 MB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.007431, allocations: 11.94 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.007694, allocations: 110.8 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.008108, allocations: 198.2 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.008797, allocations: 331.5 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.009809, allocations: 1.12 MB / 280.5 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.01012, allocations: 200.9 kB / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006654/0.01079, allocations: 0.6005 MB / 281.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.01123, allocations: 375 kB / 281.7 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.01137, allocations: 116 kB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.01151, allocations: 120 kB / 281.9 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.01169, allocations: 231.3 kB / 282.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.01199, allocations: 319.3 kB / 282.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007094/0.0127, allocations: 0.7166 MB / 283.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.0127, allocations: 4 kB / 283.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.0127, allocations: 0 / 283.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.01271, allocations: 0 / 283.1 MB, free: 7.238 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: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.001715/0.01443, allocations: 1.103 MB / 284.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.01447, allocations: 15.98 kB / 284.3 MB, free: 6.078 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.01462, allocations: 104.8 kB / 284.4 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.01497, allocations: 311.4 kB / 284.7 MB, free: 5.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.01501, allocations: 45.69 kB / 284.7 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.267e-05/0.01508, allocations: 64.38 kB / 284.8 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007573/0.01584, allocations: 0.9581 MB / 285.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.01585, allocations: 4.188 kB / 285.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.01588, allocations: 24.38 kB / 285.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.0159, allocations: 19.94 kB / 285.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.0162, allocations: 230.8 kB / 286 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.0181, allocations: 2.277 MB / 288.3 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.01859, allocations: 312.3 kB / 288.6 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.01878, allocations: 150.3 kB / 288.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.01881, allocations: 16.42 kB / 288.8 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.01903, allocations: 226.1 kB / 289 MB, free: 1.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.743e-06/0.01903, allocations: 4 kB / 289 MB, free: 1.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.0004345/0.01947, allocations: 338 kB / 289.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.01959, allocations: 380.3 kB / 289.7 MB, free: 300 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1045/0.1241, allocations: 458.7 kB / 290.1 MB, free: 25.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.1242, allocations: 37.52 kB / 290.2 MB, free: 25.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1244, allocations: 333.5 kB / 290.5 MB, free: 25.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.1245, allocations: 178.7 kB / 290.7 MB, free: 25.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.1247, allocations: 135.2 kB / 290.8 MB, free: 25.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.1247, allocations: 374.2 kB / 291.2 MB, free: 25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.1249, allocations: 147.9 kB / 291.3 MB, free: 24.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.1253, allocations: 0.726 MB / 292 MB, free: 24.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.1257, allocations: 0.5003 MB / 292.5 MB, free: 23.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1257, allocations: 3.25 kB / 292.5 MB, free: 23.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006869/0.1264, allocations: 0.55 MB / 293.1 MB, free: 23.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.1265, allocations: 66.11 kB / 293.1 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1265, allocations: 6.781 kB / 293.2 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.1265, allocations: 14.09 kB / 293.2 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.1271, allocations: 193.2 kB / 293.4 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.1271, allocations: 15.08 kB / 293.4 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.1276, allocations: 132.3 kB / 293.5 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.1276, allocations: 25.12 kB / 293.5 MB, free: 23.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 (VIN2.signalSource.count,$PRE.VIN2.signalSource.count,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.T_start,VIN1.signalSource.count,$PRE.VIN1.signalSource.count,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * 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.0001587/0.1278, allocations: 172.6 kB / 293.7 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.74e-05/0.1279, allocations: 56.67 kB / 293.8 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.866e-05/0.1279, allocations: 70.3 kB / 293.8 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1279, allocations: 9.875 kB / 293.8 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1279, allocations: 0 / 293.8 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.128, allocations: 2.578 kB / 293.8 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009924/0.1289, allocations: 0.6874 MB / 294.5 MB, free: 23.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1289, allocations: 1.094 kB / 294.5 MB, free: 23.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.1293, allocations: 115.1 kB / 294.6 MB, free: 23.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1293, allocations: 6.344 kB / 294.6 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.1294, allocations: 11.33 kB / 294.6 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1294, allocations: 1.031 kB / 294.7 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1294, allocations: 1.375 kB / 294.7 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.13, allocations: 487.9 kB / 295.1 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.1301, allocations: 64.94 kB / 295.2 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.1301, allocations: 12.64 kB / 295.2 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.1304, allocations: 62.25 kB / 295.3 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.1305, allocations: 51.91 kB / 295.3 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.1306, allocations: 7.891 kB / 295.3 MB, free: 23.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.1308, allocations: 203 kB / 295.5 MB, free: 23.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1308, allocations: 0 / 295.5 MB, free: 23.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004894/0.1312, allocations: 176.4 kB / 295.7 MB, free: 23.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00011/0.1314, allocations: 96.81 kB / 295.8 MB, free: 23.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005383/0.1319, allocations: 0.5008 MB / 296.3 MB, free: 22.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/0.1319, allocations: 9.812 kB / 296.3 MB, free: 22.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.1321, allocations: 148.5 kB / 296.4 MB, free: 22.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1325, allocations: 118.2 kB / 296.6 MB, free: 22.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007442/0.14, allocations: 1.023 MB / 297.6 MB, free: 22.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.067e-05/0.1401, allocations: 128.6 kB / 297.7 MB, free: 22.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.1404, allocations: 77.33 kB / 297.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.1407, allocations: 199.7 kB / 298 MB, free: 22.11 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1407, allocations: 0 / 298 MB, free: 22.11 MB / 266.7 MB Notification: Performance of Templates: time 0.03587/0.1766, allocations: 9.039 MB / 307 MB, free: 18.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 242.62895951094106]