Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001699/0.001699, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.001455/0.001455, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 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 1.581/1.581, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 59.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3601, allocations: 53.42 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006883/0.367, allocations: 5.345 MB / 437.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.3701, allocations: 1.521 MB / 438.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.3705, allocations: 19.94 kB / 438.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.3709, allocations: 174.2 kB / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005698/0.3715, allocations: 297.2 kB / 439.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.3723, allocations: 407.4 kB / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.3737, allocations: 1.395 MB / 441.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004719/0.3741, allocations: 301.7 kB / 441.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006543/0.3748, allocations: 0.5101 MB / 441.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006251/0.3754, allocations: 0.5681 MB / 442.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.3756, allocations: 136 kB / 442.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.3759, allocations: 180 kB / 442.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.3761, allocations: 271.1 kB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004584/0.3766, allocations: 497.9 kB / 443.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.3781, allocations: 1.557 MB / 445.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3781, allocations: 3.984 kB / 445.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3781, allocations: 3.938 kB / 445.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3781, allocations: 0 / 445.1 MB, free: 9.258 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002626/0.3807, allocations: 1.338 MB / 446.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3808, allocations: 8.031 kB / 446.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.786e-05/0.3808, allocations: 26.19 kB / 446.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.381, allocations: 135.6 kB / 446.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.3813, allocations: 132.2 kB / 446.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009139/0.3823, allocations: 0.4978 MB / 447.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/0.3823, allocations: 62.38 kB / 447.3 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.3825, allocations: 92.38 kB / 447.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.3843, allocations: 1.109 MB / 448.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.3843, allocations: 0 / 448.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.3844, allocations: 36 kB / 448.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.3845, allocations: 20 kB / 448.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.3862, allocations: 0.8589 MB / 449.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005405/0.3916, allocations: 2.885 MB / 452.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.3927, allocations: 0.6216 MB / 452.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006859/0.3934, allocations: 391.4 kB / 453.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.253e-05/0.3935, allocations: 20.58 kB / 453.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3935, allocations: 39.22 kB / 453.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.595e-06/0.3935, allocations: 4 kB / 453.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004665/0.3982, allocations: 2.201 MB / 455.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3982, allocations: 64 kB / 455.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/0.399, allocations: 0.6058 MB / 456.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.016e-05/0.3991, allocations: 37.7 kB / 456.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.3995, allocations: 456.3 kB / 456.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.3997, allocations: 265.7 kB / 456.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.4, allocations: 150.6 kB / 457.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.4002, allocations: 394.7 kB / 457.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.4008, allocations: 325.9 kB / 457.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/0.4016, allocations: 464.6 kB / 458.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.403, allocations: 0.8125 MB / 459.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.403, allocations: 0 / 459.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002175/0.4052, allocations: 1.107 MB / 460.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.4052, allocations: 11.98 kB / 460.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4052, allocations: 8.062 kB / 460.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.4058, allocations: 180.7 kB / 460.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008923/0.4067, allocations: 203.7 kB / 460.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/0.4107, allocations: 2.74 MB / 463.3 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/0.4114, allocations: 44.03 kB / 463.3 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.4114, allocations: 31.98 kB / 463.4 MB, free: 6.375 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004094/0.4119, allocations: 221.7 kB / 463.6 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.412, allocations: 95.36 kB / 463.7 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.4122, allocations: 91.27 kB / 463.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4122, allocations: 8 kB / 463.8 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.4122, allocations: 4 kB / 463.8 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4122, allocations: 7.922 kB / 463.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.4132, allocations: 0.72 MB / 464.5 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4132, allocations: 0 / 464.5 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/0.4139, allocations: 143.8 kB / 464.6 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/0.4145, allocations: 179.2 kB / 464.8 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/0.4145, allocations: 28.11 kB / 464.9 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003714/0.4182, allocations: 2.749 MB / 467.6 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4182, allocations: 3.938 kB / 467.6 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.4209, allocations: 1.424 MB / 469 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.421, allocations: 75.47 kB / 469.1 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.4211, allocations: 19.98 kB / 469.1 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.4218, allocations: 51.97 kB / 469.2 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.4219, allocations: 64.56 kB / 469.2 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.422, allocations: 20 kB / 469.3 MB, free: 312 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005245/0.4225, allocations: 427.1 kB / 469.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4225, allocations: 0 / 469.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008577/0.4233, allocations: 244.1 kB / 469.9 MB, free: 15.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003084/0.4264, allocations: 2.008 MB / 471.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.4287, allocations: 0.9909 MB / 472.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4287, allocations: 0 / 472.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.43, allocations: 0.6112 MB / 473.5 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.4308, allocations: 151.1 kB / 473.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.4432, allocations: 7.452 MB / 481.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.4437, allocations: 387.2 kB / 481.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004482/0.4441, allocations: 97.45 kB / 481.6 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.4446, allocations: 323.3 kB / 481.9 MB, free: 3.332 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4446, allocations: 0 / 481.9 MB, free: 3.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05329/0.4979, allocations: 20.44 MB / 0.4906 GB, free: 15.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.14, allocations: 3.938 kB / 0.4906 GB, free: 15.2 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier_fmu --startTime=0 --stopTime=1e-08 --stepSize=1.9988e-12 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.876262929989025] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C2.v', 'C3.v', 'C4.v', 'C5.v', 'Transistor1.Tr.C.v', 'Transistor1.ct.v', 'Transistor2.Tr.C.v', 'Transistor2.ct.v'] 13.322108823922463 13.3452339 12.963918299 Calling exit ...