Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 210 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.96/1.96, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3645, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.007125/0.3716, allocations: 3.833 MB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.3747, allocations: 1.176 MB / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.3752, allocations: 15.94 kB / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.3755, allocations: 110.8 kB / 437.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005542/0.3761, allocations: 190.3 kB / 437.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009037/0.377, allocations: 331.6 kB / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.3785, allocations: 1.101 MB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005327/0.3791, allocations: 195.1 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006605/0.3797, allocations: 418.7 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006802/0.3804, allocations: 462.3 kB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.3806, allocations: 120 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.3808, allocations: 116 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.3811, allocations: 231.3 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.3816, allocations: 366.5 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.3831, allocations: 1.233 MB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3831, allocations: 0 / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3831, allocations: 0 / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.3832, allocations: 4 kB / 442.2 MB, free: 12.82 MB / 350.1 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.003828/0.387, allocations: 1.21 MB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.387, allocations: 8.031 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.3872, allocations: 88.42 kB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009049/0.3882, allocations: 420.1 kB / 443.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.3882, allocations: 45.69 kB / 443.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.3884, allocations: 64.31 kB / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/0.3914, allocations: 1.266 MB / 445.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.3915, allocations: 7.938 kB / 445.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.3916, allocations: 20 kB / 445.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.3916, allocations: 19.98 kB / 445.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/0.3953, allocations: 0.9991 MB / 446.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006267/0.4016, allocations: 2.833 MB / 449.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/0.4045, allocations: 0.7356 MB / 449.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.406, allocations: 417.8 kB / 450.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.281e-05/0.4061, allocations: 24.36 kB / 450.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/0.4076, allocations: 461.1 kB / 450.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.958e-06/0.4076, allocations: 0 / 450.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.00424/0.4119, allocations: 1.092 MB / 451.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002868/0.4122, allocations: 380.2 kB / 452.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.4133, allocations: 0.5377 MB / 452.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.851e-05/0.4134, allocations: 37.7 kB / 452.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.4139, allocations: 384.4 kB / 453.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.4141, allocations: 174.5 kB / 453.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/0.4145, allocations: 142.6 kB / 453.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.4147, allocations: 374.7 kB / 453.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.4163, allocations: 461.1 kB / 454.3 MB, free: 204 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.4185, allocations: 1.04 MB / 455.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003111/0.4216, allocations: 0.979 MB / 456.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.4216, allocations: 4 kB / 456.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00415/0.4257, allocations: 1.194 MB / 457.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-05/0.4258, allocations: 63.41 kB / 457.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.4258, allocations: 4 kB / 457.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.915e-05/0.4259, allocations: 15.98 kB / 457.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.4273, allocations: 219.9 kB / 457.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.494e-05/0.4273, allocations: 15.92 kB / 457.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.4289, allocations: 187.2 kB / 458 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.429, allocations: 32 kB / 458 MB, free: 12.1 MB / 366.1 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.000538/0.4295, allocations: 221.6 kB / 458.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.4297, allocations: 67.56 kB / 458.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.43, allocations: 73.94 kB / 458.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.43, allocations: 4 kB / 458.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.43, allocations: 0 / 458.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.43, allocations: 7.969 kB / 458.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004702/0.4347, allocations: 1.446 MB / 459.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4347, allocations: 3.938 kB / 459.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.4358, allocations: 151.8 kB / 460 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.807e-05/0.4358, allocations: 4 kB / 460 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.4359, allocations: 12 kB / 460 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/0.4359, allocations: 0 / 460 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4359, allocations: 0 / 460 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/0.4404, allocations: 1.303 MB / 461.3 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.4407, allocations: 67.53 kB / 461.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.4409, allocations: 16 kB / 461.4 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.442, allocations: 103.9 kB / 461.5 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.4422, allocations: 48.34 kB / 461.6 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.435e-05/0.4422, allocations: 12 kB / 461.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00097/0.4432, allocations: 374.8 kB / 461.9 MB, free: 8.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4432, allocations: 0 / 461.9 MB, free: 8.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00124/0.4444, allocations: 187.7 kB / 462.1 MB, free: 7.957 MB / 366.1 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.0003097/0.4447, allocations: 119.1 kB / 462.2 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003944/0.4487, allocations: 1.015 MB / 463.3 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4487, allocations: 4 kB / 463.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.4503, allocations: 395.3 kB / 463.6 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4513, allocations: 94.22 kB / 463.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.455, allocations: 1.247 MB / 465 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.4554, allocations: 284.4 kB / 465.3 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006287/0.4561, allocations: 80.66 kB / 465.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.4564, allocations: 51.44 kB / 465.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of SimCode: time 2.084e-06/0.4564, allocations: 4 kB / 465.4 MB, free: 4.59 MB / 366.1 MB Notification: Performance of Templates: time 0.02396/0.4804, allocations: 9.708 MB / 475.1 MB, free: 11.01 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.756427123997128] Failed to read output from testmodel.py, exit status != 0: ['time', 'Nand.C4.v', 'Nand.C7.v'] 0.49146380300226156 0.516609917 0.12796611700000002 Calling exit ...