Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001363/0.001363, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001518/0.001518, allocations: 219.5 kB / 23 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.384/1.384, allocations: 230.5 MB / 256.5 MB, free: 8.246 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-beta.om/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.Integrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.89 kB / 376.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2487, allocations: 53.3 MB / 429.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004269/0.253, allocations: 2.916 MB / 432.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2544, allocations: 0.7558 MB / 433.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.2545, allocations: 7.938 kB / 433.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.2547, allocations: 43.56 kB / 433.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.2549, allocations: 99.19 kB / 433.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.2552, allocations: 115.8 kB / 433.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.2556, allocations: 390.5 kB / 433.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.2558, allocations: 95.25 kB / 434 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.2561, allocations: 155.4 kB / 434.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.2563, allocations: 167.3 kB / 434.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.2564, allocations: 40 kB / 434.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.434e-05/0.2564, allocations: 36 kB / 434.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.2565, allocations: 75.7 kB / 434.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.2566, allocations: 167.2 kB / 434.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004565/0.2571, allocations: 430.8 kB / 435 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2571, allocations: 0 / 435 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2571, allocations: 0 / 435 MB, free: 1.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2571, allocations: 4 kB / 435 MB, free: 1.914 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001273/0.2584, allocations: 0.6641 MB / 435.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2584, allocations: 8.031 kB / 435.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.82e-05/0.2585, allocations: 58.73 kB / 435.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.2586, allocations: 32.75 kB / 435.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.259, allocations: 304.6 kB / 436.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2591, allocations: 20.94 kB / 436.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.2591, allocations: 20.38 kB / 436.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.2598, allocations: 315.8 kB / 436.4 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2598, allocations: 0 / 436.4 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.2598, allocations: 12 kB / 436.4 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.2598, allocations: 11.94 kB / 436.4 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007824/0.2606, allocations: 274.1 kB / 436.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.2627, allocations: 1.169 MB / 437.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000866/0.2635, allocations: 246.5 kB / 438.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.2639, allocations: 100.7 kB / 438.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2639, allocations: 0 / 438.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.2643, allocations: 176.4 kB / 438.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.2643, allocations: 0 / 438.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002087/0.2664, allocations: 0.5927 MB / 439 MB, free: 13.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.2665, allocations: 81.09 kB / 439.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.2668, allocations: 262.6 kB / 439.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.2668, allocations: 29.7 kB / 439.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.2669, allocations: 199.9 kB / 439.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.267, allocations: 51.62 kB / 439.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.65e-05/0.2671, allocations: 45.7 kB / 439.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2672, allocations: 330.8 kB / 440 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.2676, allocations: 104.2 kB / 440.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.268, allocations: 191.5 kB / 440.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/0.2687, allocations: 310.5 kB / 440.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2687, allocations: 3.938 kB / 440.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001216/0.2699, allocations: 443.8 kB / 441 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.27, allocations: 33.64 kB / 441 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.27, allocations: 7.984 kB / 441 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.2703, allocations: 68.89 kB / 441.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.2705, allocations: 55.89 kB / 441.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.2728, allocations: 1.632 MB / 442.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.2731, allocations: 51.81 kB / 442.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.2731, allocations: 15.94 kB / 442.9 MB, free: 9.52 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: 5 (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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.2733, allocations: 145.8 kB / 443 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.2733, allocations: 27.84 kB / 443 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.2734, allocations: 21.72 kB / 443 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2734, allocations: 4 kB / 443 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.2734, allocations: 0 / 443 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2734, allocations: 3.984 kB / 443.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.2737, allocations: 313.4 kB / 443.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2737, allocations: 4 kB / 443.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.2739, allocations: 31.97 kB / 443.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/0.2741, allocations: 56.81 kB / 443.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2741, allocations: 3.938 kB / 443.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.2762, allocations: 1.641 MB / 445.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2762, allocations: 0 / 445.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.2775, allocations: 450 kB / 445.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.2776, allocations: 104.9 kB / 445.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.2777, allocations: 0 / 445.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.2779, allocations: 35.95 kB / 445.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.2779, allocations: 11.98 kB / 445.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.278, allocations: 12.05 kB / 445.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.2782, allocations: 194 kB / 445.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2782, allocations: 0 / 445.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.2785, allocations: 71.84 kB / 446 MB, free: 6.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001696/0.2802, allocations: 0.9878 MB / 446.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.2812, allocations: 393.9 kB / 447.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2812, allocations: 0.6875 kB / 447.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.2816, allocations: 218.5 kB / 447.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.282, allocations: 43.06 kB / 447.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/0.2895, allocations: 3.417 MB / 451 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.29, allocations: 0.7557 MB / 451.8 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.2901, allocations: 30.22 kB / 451.8 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.2902, allocations: 79.41 kB / 451.9 MB, free: 16 kB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2902, allocations: 0 / 451.9 MB, free: 16 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04648/0.3367, allocations: 6.332 MB / 458.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.53, allocations: 12.78 kB / 458.2 MB, free: 9.824 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.789791151008103] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.c.v', 'integrator.opAmp.out.v', 'integrator.opAmp.out.i'] 11.628504099004203 11.656701329 11.394118346 Calling exit ...