Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001473/0.001473, 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.001533/0.001533, allocations: 209.5 kB / 24.52 MB, free: 3.918 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.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 7.773 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.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 67.83 kB / 378.5 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2655, allocations: 53.4 MB / 431.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.00419/0.2697, allocations: 2.761 MB / 434.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.2712, allocations: 0.7167 MB / 435.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.2714, allocations: 4 kB / 435.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.2715, allocations: 51.5 kB / 435.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.2718, allocations: 111.1 kB / 435.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.2721, allocations: 103.8 kB / 435.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.2725, allocations: 410.4 kB / 436.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.2727, allocations: 97.34 kB / 436.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.2729, allocations: 159.4 kB / 436.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.2731, allocations: 183.2 kB / 436.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.2732, allocations: 40 kB / 436.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.2733, allocations: 40 kB / 436.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.2733, allocations: 75.75 kB / 436.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.2735, allocations: 151.3 kB / 436.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.274, allocations: 462.2 kB / 437.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.274, allocations: 0 / 437.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.274, allocations: 4 kB / 437.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.274, allocations: 3.984 kB / 437.3 MB, free: 1.043 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001174/0.2752, allocations: 0.6013 MB / 437.9 MB, free: 416 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2753, allocations: 8.031 kB / 437.9 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.326e-05/0.2753, allocations: 8.844 kB / 437.9 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.565e-05/0.2753, allocations: 62.72 kB / 437.9 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.2754, allocations: 36.73 kB / 438 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.2759, allocations: 253.9 kB / 438.2 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.2759, allocations: 21.11 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.276, allocations: 32.31 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.2767, allocations: 359.1 kB / 438.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2767, allocations: 4 kB / 438.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.2767, allocations: 8 kB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.2767, allocations: 8 kB / 438.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006723/0.2774, allocations: 270.5 kB / 438.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.2792, allocations: 0.9786 MB / 439.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.2798, allocations: 206.6 kB / 440.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.2801, allocations: 92.8 kB / 440.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.2801, allocations: 4 kB / 440.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004595/0.2806, allocations: 254.9 kB / 440.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.2806, allocations: 0 / 440.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001622/0.2822, allocations: 450.2 kB / 440.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.2823, allocations: 132.5 kB / 441 MB, free: 13.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.2826, allocations: 281.8 kB / 441.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.2827, allocations: 37.64 kB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.2828, allocations: 200 kB / 441.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.2829, allocations: 51.58 kB / 441.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.283, allocations: 61.64 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2831, allocations: 342.8 kB / 442 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.2834, allocations: 117.6 kB / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.2838, allocations: 299.5 kB / 442.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.2844, allocations: 281.6 kB / 442.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2844, allocations: 0 / 442.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009862/0.2854, allocations: 445.5 kB / 443.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.2854, allocations: 37.64 kB / 443.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2854, allocations: 0 / 443.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/0.2858, allocations: 80.78 kB / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.286, allocations: 43.91 kB / 443.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.2881, allocations: 1.696 MB / 444.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.2885, allocations: 59.86 kB / 445 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.2885, allocations: 15.94 kB / 445 MB, free: 8.742 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (gain.opAmp.satNeg,gain.opAmp.satPos,vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.2887, allocations: 155.8 kB / 445.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.2887, allocations: 23.86 kB / 445.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.2888, allocations: 30.11 kB / 445.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2888, allocations: 0 / 445.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2888, allocations: 8 kB / 445.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2888, allocations: 0 / 445.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.2891, allocations: 268.5 kB / 445.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2891, allocations: 0 / 445.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.2892, allocations: 23.98 kB / 445.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.2895, allocations: 72.78 kB / 445.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.2895, allocations: 4 kB / 445.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.2915, allocations: 1.699 MB / 447.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2915, allocations: 0 / 447.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008034/0.2923, allocations: 316.5 kB / 447.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.2924, allocations: 23.84 kB / 447.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.2924, allocations: 7.938 kB / 447.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.2926, allocations: 32.03 kB / 447.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.2927, allocations: 27.89 kB / 447.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.2927, allocations: 8 kB / 447.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000217/0.293, allocations: 197.2 kB / 447.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.293, allocations: 0 / 447.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.2933, allocations: 91.78 kB / 448 MB, free: 5.586 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,gain.opAmp.satPos,gain.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/0.2945, allocations: 0.8512 MB / 448.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009113/0.2954, allocations: 447.4 kB / 449.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2954, allocations: 0 / 449.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.2958, allocations: 238.5 kB / 449.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.2961, allocations: 52.97 kB / 449.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/0.3017, allocations: 3.203 MB / 452.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3018, allocations: 155.8 kB / 452.9 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.302, allocations: 22.3 kB / 452.9 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3021, allocations: 83.41 kB / 453 MB, free: 292 kB / 350.1 MB Notification: Performance of SimCode: time 1.021e-06/0.3021, allocations: 0 / 453 MB, free: 292 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.3343, allocations: 7.591 MB / 460.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.22, allocations: 4.062 kB / 460.6 MB, free: 8.875 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.665273581049405] Failed to read output from testmodel.py, exit status != 0: ['time', 'gain.opAmp.out.v', 'gain.opAmp.out.i'] 13.395104008959606 13.409069845 13.131962328 Calling exit ...