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.001446/0.001446, allocations: 120.1 kB / 18.49 MB, free: 4.566 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: 218.2 kB / 21.46 MB, free: 1.613 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.572/1.572, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.002445/0.002445, allocations: 71.89 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1305, allocations: 53.37 MB / 427.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.008094/0.1386, allocations: 6.109 MB / 433.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00355/0.1421, allocations: 1.564 MB / 434.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009337/0.143, allocations: 19.94 kB / 434.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006472/0.1437, allocations: 174.2 kB / 434.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1447, allocations: 289.3 kB / 435.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1458, allocations: 419.3 kB / 435.6 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001909/0.1477, allocations: 1.395 MB / 437 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.1483, allocations: 293.3 kB / 437.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000918/0.1492, allocations: 0.5101 MB / 437.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009111/0.1501, allocations: 0.568 MB / 438.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002744/0.1504, allocations: 136 kB / 438.5 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.1508, allocations: 183.9 kB / 438.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.1511, allocations: 271.2 kB / 439 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008367/0.152, allocations: 0.5911 MB / 439.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.1538, allocations: 1.549 MB / 441.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1538, allocations: 0 / 441.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1538, allocations: 0 / 441.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.608e-05/0.1539, allocations: 0 / 441.1 MB, free: 6.48 MB / 366.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.003687/0.1576, allocations: 1.413 MB / 442.5 MB, free: 5.016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.1576, allocations: 8.031 kB / 442.5 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.191e-05/0.1577, allocations: 30.19 kB / 442.6 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002551/0.1579, allocations: 135.6 kB / 442.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005007/0.1584, allocations: 132.2 kB / 442.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.1595, allocations: 0.5582 MB / 443.4 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.1596, allocations: 70.38 kB / 443.5 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.1598, allocations: 84.38 kB / 443.5 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.1616, allocations: 0.8545 MB / 444.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.1616, allocations: 0 / 444.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.702e-05/0.1617, allocations: 36 kB / 444.4 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.1617, allocations: 23.94 kB / 444.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.1636, allocations: 0.855 MB / 445.3 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2351/0.3987, allocations: 3.217 MB / 448.5 MB, free: 22.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3998, allocations: 0.631 MB / 449.2 MB, free: 22.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.4004, allocations: 394.4 kB / 449.5 MB, free: 22.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/0.4005, allocations: 11.5 kB / 449.5 MB, free: 22.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.4005, allocations: 41.19 kB / 449.6 MB, free: 22.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.554e-06/0.4005, allocations: 0.7188 kB / 449.6 MB, free: 22.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.004485/0.405, allocations: 2.273 MB / 451.9 MB, free: 21.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.405, allocations: 60.31 kB / 451.9 MB, free: 21.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007829/0.4058, allocations: 0.6074 MB / 452.5 MB, free: 21.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.4058, allocations: 37.2 kB / 452.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.4061, allocations: 449.5 kB / 453 MB, free: 20.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.4063, allocations: 273.8 kB / 453.3 MB, free: 20.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.4066, allocations: 150.7 kB / 453.4 MB, free: 20.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4068, allocations: 384.5 kB / 453.8 MB, free: 20.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006973/0.4075, allocations: 325.3 kB / 454.1 MB, free: 20.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007139/0.4082, allocations: 477.6 kB / 454.6 MB, free: 19.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.4096, allocations: 0.7985 MB / 455.4 MB, free: 19.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.4096, allocations: 5.859 kB / 455.4 MB, free: 19.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002449/0.412, allocations: 1.113 MB / 456.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.4121, allocations: 7.219 kB / 456.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.4121, allocations: 4.125 kB / 456.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/0.4128, allocations: 189.3 kB / 456.7 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/0.4137, allocations: 197.8 kB / 456.9 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003537/0.4172, allocations: 2.894 MB / 459.8 MB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.418, allocations: 40.52 kB / 459.8 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/0.4181, allocations: 30.48 kB / 459.8 MB, free: 16.75 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.0003868/0.4185, allocations: 232.1 kB / 460.1 MB, free: 16.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.4186, allocations: 89.25 kB / 460.2 MB, free: 16.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.4189, allocations: 99.3 kB / 460.3 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.4189, allocations: 6.812 kB / 460.3 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.521e-05/0.4189, allocations: 2.656 kB / 460.3 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.4189, allocations: 5.156 kB / 460.3 MB, free: 16.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.4203, allocations: 0.8834 MB / 461.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4203, allocations: 0 / 461.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000743/0.4211, allocations: 149.4 kB / 461.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/0.4216, allocations: 183.6 kB / 461.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.4217, allocations: 18.2 kB / 461.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003326/0.425, allocations: 2.898 MB / 464.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.425, allocations: 0 / 464.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.4276, allocations: 1.426 MB / 465.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.4278, allocations: 156.3 kB / 466 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.428, allocations: 17.41 kB / 466 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006415/0.4286, allocations: 52.83 kB / 466 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.4287, allocations: 53.28 kB / 466.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/0.4288, allocations: 31.28 kB / 466.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005062/0.4293, allocations: 427.9 kB / 466.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4293, allocations: 0 / 466.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009182/0.4302, allocations: 240.9 kB / 466.8 MB, free: 12.57 MB / 366.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.002809/0.433, allocations: 2.004 MB / 468.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.4353, allocations: 0.9916 MB / 469.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.4353, allocations: 5.281 kB / 469.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.4366, allocations: 0.614 MB / 470.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.4374, allocations: 148.5 kB / 470.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.4489, allocations: 7.451 MB / 478 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.4494, allocations: 0.9815 MB / 479 MB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.4498, allocations: 93.94 kB / 479.1 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.4502, allocations: 324 kB / 479.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4502, allocations: 0 / 479.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04742/0.4976, allocations: 19.19 MB / 498.6 MB, free: 7.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.87, allocations: 2.922 kB / 498.6 MB, free: 7.59 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.575716409017332] 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'] 12.02364133996889 12.047229634 11.88884134 Calling exit ...