Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001737/0.001737, allocations: 117 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.002043/0.002043, allocations: 216.7 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.51/1.51, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 55.91 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.101, allocations: 53.39 MB / 427.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004414/0.1054, allocations: 2.982 MB / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1068, allocations: 0.7478 MB / 430.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.107, allocations: 4 kB / 430.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.1071, allocations: 51.5 kB / 430.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.1074, allocations: 111.1 kB / 431 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.1076, allocations: 103.8 kB / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.1081, allocations: 414.4 kB / 431.5 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1083, allocations: 87.27 kB / 431.6 MB, free: 56 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1859/0.2941, allocations: 159.2 kB / 431.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.2944, allocations: 169.5 kB / 431.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.2945, allocations: 41.22 kB / 431.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.547e-05/0.2946, allocations: 42.12 kB / 432 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.2946, allocations: 85.78 kB / 432.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.2948, allocations: 184.9 kB / 432.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.2953, allocations: 462.6 kB / 432.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2953, allocations: 0 / 432.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2953, allocations: 1.156 kB / 432.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.2953, allocations: 1.344 kB / 432.7 MB, free: 7.211 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001139/0.2964, allocations: 0.6708 MB / 433.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2965, allocations: 9.562 kB / 433.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.345e-05/0.2965, allocations: 8.094 kB / 433.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.2966, allocations: 60.05 kB / 433.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.2966, allocations: 39.08 kB / 433.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.297, allocations: 310.5 kB / 433.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.297, allocations: 22 kB / 433.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.297, allocations: 28.91 kB / 433.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.2976, allocations: 288.3 kB / 434.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2976, allocations: 0 / 434.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.2976, allocations: 12.16 kB / 434.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2976, allocations: 8.188 kB / 434.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.2983, allocations: 260.6 kB / 434.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.2998, allocations: 1.095 MB / 435.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.3005, allocations: 210.8 kB / 435.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.3007, allocations: 88 kB / 435.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3007, allocations: 4.031 kB / 435.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.3011, allocations: 184.6 kB / 436 MB, free: 5.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.3011, allocations: 0 / 436 MB, free: 5.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001679/0.3028, allocations: 0.5137 MB / 436.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3029, allocations: 147.2 kB / 436.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.3031, allocations: 284.2 kB / 436.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3032, allocations: 27.7 kB / 436.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.3032, allocations: 208 kB / 437.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.3033, allocations: 56.97 kB / 437.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/0.3034, allocations: 50.83 kB / 437.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.3034, allocations: 336.7 kB / 437.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.3037, allocations: 91.86 kB / 437.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.3041, allocations: 196 kB / 437.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/0.3046, allocations: 300.3 kB / 438.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3046, allocations: 1.062 kB / 438.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001033/0.3056, allocations: 414.7 kB / 438.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.3057, allocations: 38.16 kB / 438.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3057, allocations: 7.938 kB / 438.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/0.3061, allocations: 78.67 kB / 438.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3063, allocations: 49.61 kB / 438.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.3082, allocations: 1.974 MB / 440.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.3086, allocations: 57.81 kB / 440.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.3086, allocations: 12.88 kB / 440.8 MB, free: 2.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (buffer.opAmp.satNeg,buffer.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 (25): * Single equations (assignments): 23 * 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.0001241/0.3087, allocations: 154 kB / 440.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.3087, allocations: 28.73 kB / 440.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.3088, allocations: 29.17 kB / 441 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3088, allocations: 1.344 kB / 441 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3088, allocations: 5.25 kB / 441 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3088, allocations: 2.25 kB / 441 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.3091, allocations: 337.5 kB / 441.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3091, allocations: 0.5625 kB / 441.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.3092, allocations: 25.19 kB / 441.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/0.3095, allocations: 72.84 kB / 441.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3095, allocations: 6.547 kB / 441.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.3111, allocations: 1.977 MB / 443.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3111, allocations: 0 / 443.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.312, allocations: 320.1 kB / 443.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.312, allocations: 101.9 kB / 443.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.3121, allocations: 12.38 kB / 443.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.3123, allocations: 30.38 kB / 443.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.3124, allocations: 24.5 kB / 443.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3124, allocations: 4.25 kB / 443.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.3126, allocations: 204.5 kB / 444.1 MB, free: 436 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3126, allocations: 0 / 444.1 MB, free: 436 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.313, allocations: 83.08 kB / 444.1 MB, free: 420 kB / 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,buffer.opAmp.satPos,buffer.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.001107/0.3141, allocations: 0.8623 MB / 445 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.3151, allocations: 409.8 kB / 445.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3151, allocations: 0 / 445.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.3157, allocations: 240.3 kB / 445.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.3161, allocations: 61.03 kB / 445.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005949/0.322, allocations: 3.128 MB / 448.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3224, allocations: 0.7598 MB / 449.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.3225, allocations: 32.02 kB / 449.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3227, allocations: 88.02 kB / 449.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3227, allocations: 0 / 449.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.3523, allocations: 7.277 MB / 457 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.28, allocations: 20.45 kB / 457 MB, free: 10.76 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.759570359019563] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 12.428824850998353 12.443899996 12.145541563 Calling exit ...