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.LowPass.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.001226/0.001226, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001337/0.001337, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.419/1.419, allocations: 230.5 MB / 254.7 MB, free: 15 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.LowPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",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.001958/0.001958, allocations: 67.88 kB / 373.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.105, allocations: 53.32 MB / 426.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00457/0.1096, allocations: 3.103 MB / 430 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1111, allocations: 0.8065 MB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.1113, allocations: 8 kB / 430.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1115, allocations: 59.44 kB / 430.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.1117, allocations: 119 kB / 431 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.112, allocations: 123.8 kB / 431.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.1125, allocations: 462.2 kB / 431.6 MB, free: 92 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.202/0.3145, allocations: 90.92 kB / 431.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.315, allocations: 186.4 kB / 431.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.3152, allocations: 188.8 kB / 432 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.255e-05/0.3153, allocations: 44.41 kB / 432.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.3154, allocations: 48.28 kB / 432.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.3154, allocations: 86.52 kB / 432.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.3156, allocations: 199.3 kB / 432.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.3161, allocations: 499.7 kB / 432.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3161, allocations: 0 / 432.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3161, allocations: 0 / 432.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3161, allocations: 5.531 kB / 432.9 MB, free: 7.527 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001201/0.3173, allocations: 0.7153 MB / 433.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3173, allocations: 9.625 kB / 433.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.761e-05/0.3174, allocations: 65.19 kB / 433.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.3175, allocations: 42.03 kB / 433.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.3178, allocations: 315.6 kB / 434 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3179, allocations: 22.97 kB / 434.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.3179, allocations: 29.34 kB / 434.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.3186, allocations: 352.7 kB / 434.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3186, allocations: 0 / 434.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.3186, allocations: 16.97 kB / 434.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3186, allocations: 6.234 kB / 434.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.3193, allocations: 306.1 kB / 434.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.3213, allocations: 1.266 MB / 436 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007666/0.322, allocations: 323.4 kB / 436.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.3224, allocations: 136.5 kB / 436.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3224, allocations: 2.156 kB / 436.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.3229, allocations: 192.9 kB / 436.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.3229, allocations: 4 kB / 436.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002006/0.3249, allocations: 0.6464 MB / 437.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.325, allocations: 106.9 kB / 437.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.3253, allocations: 295.3 kB / 437.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3253, allocations: 30.27 kB / 437.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3254, allocations: 209.1 kB / 437.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.3254, allocations: 63.83 kB / 438 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.3255, allocations: 60.36 kB / 438.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.3256, allocations: 343.3 kB / 438.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.3259, allocations: 115 kB / 438.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.3263, allocations: 211.5 kB / 438.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.327, allocations: 338.6 kB / 439 MB, free: 4.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.327, allocations: 1.812 kB / 439 MB, free: 4.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001161/0.3281, allocations: 486.2 kB / 439.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.3282, allocations: 35.28 kB / 439.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3282, allocations: 3.25 kB / 439.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.3285, allocations: 65.69 kB / 439.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.3288, allocations: 73.8 kB / 439.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.3306, allocations: 1.639 MB / 441.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.3309, allocations: 56.45 kB / 441.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.331, allocations: 11.12 kB / 441.4 MB, free: 3.141 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 (31): * Single equations (assignments): 29 * 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.0001349/0.3311, allocations: 160.5 kB / 441.6 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.3311, allocations: 29.3 kB / 441.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.3312, allocations: 32.17 kB / 441.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3312, allocations: 1.906 kB / 441.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3312, allocations: 0 / 441.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3312, allocations: 3.359 kB / 441.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.3326, allocations: 0.7992 MB / 442.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3326, allocations: 0 / 442.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.3328, allocations: 41.52 kB / 442.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.3331, allocations: 65.55 kB / 442.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.3331, allocations: 7.062 kB / 442.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.3346, allocations: 1.623 MB / 444.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3346, allocations: 1.219 kB / 444.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.336, allocations: 0.5638 MB / 444.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.3361, allocations: 106.8 kB / 444.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.3361, allocations: 8.922 kB / 444.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.3364, allocations: 38.58 kB / 444.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.3365, allocations: 21.86 kB / 444.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3365, allocations: 8.703 kB / 444.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.3367, allocations: 208.2 kB / 445.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3367, allocations: 0 / 445.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003999/0.3371, allocations: 85.91 kB / 445.2 MB, free: 0.4961 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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.001648/0.3387, allocations: 1.111 MB / 446.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3397, allocations: 444.3 kB / 446.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3397, allocations: 0 / 446.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.3402, allocations: 234.7 kB / 447 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.3407, allocations: 57.67 kB / 447 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007068/0.3477, allocations: 3.657 MB / 450.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.3481, allocations: 0.7653 MB / 451.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.3483, allocations: 32.67 kB / 451.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.3484, allocations: 96.22 kB / 451.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3484, allocations: 0 / 451.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.3868, allocations: 7.323 MB / 458.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.89, allocations: 10.89 kB / 458.9 MB, free: 10.11 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.145871968008578] Failed to read output from testmodel.py, exit status != 0: ['time', 'firstOrder.c.v', 'firstOrder.opAmp.out.v', 'firstOrder.opAmp.out.i'] 11.984596832189709 12.001502154 11.682650795 Calling exit ...