Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 213.6 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 8.023 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_1_0_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_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 47.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2725, allocations: 53.37 MB / 431.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004461/0.277, allocations: 3.121 MB / 434.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2784, allocations: 0.8143 MB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.2786, allocations: 4 kB / 435.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.2787, allocations: 59.42 kB / 435.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.279, allocations: 119 kB / 435.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.2793, allocations: 123.8 kB / 435.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.2798, allocations: 470.2 kB / 435.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.28, allocations: 103.4 kB / 436 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.2803, allocations: 183.4 kB / 436.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.2805, allocations: 195.1 kB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.2806, allocations: 44 kB / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.531e-05/0.2807, allocations: 44 kB / 436.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.2807, allocations: 91.69 kB / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.2809, allocations: 191.1 kB / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.2815, allocations: 0.4908 MB / 437.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2815, allocations: 3.938 kB / 437.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2815, allocations: 4 kB / 437.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2815, allocations: 0 / 437.2 MB, free: 0.8047 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001349/0.2828, allocations: 0.6433 MB / 437.8 MB, free: 124 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2829, allocations: 8.031 kB / 437.9 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.046e-05/0.2829, allocations: 58.73 kB / 437.9 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.283, allocations: 40.7 kB / 437.9 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.2835, allocations: 256.9 kB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.2835, allocations: 21.03 kB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.2835, allocations: 36.12 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/0.2843, allocations: 345 kB / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2843, allocations: 7.938 kB / 438.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.2843, allocations: 12 kB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.2843, allocations: 8 kB / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/0.2852, allocations: 302.4 kB / 438.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.2874, allocations: 1.23 MB / 440.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.2881, allocations: 246.3 kB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.2885, allocations: 128.8 kB / 440.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.2886, allocations: 8 kB / 440.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/0.2891, allocations: 193.8 kB / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.2891, allocations: 0 / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002094/0.2912, allocations: 0.5666 MB / 441.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.2913, allocations: 110.8 kB / 441.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.2917, allocations: 300.4 kB / 441.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.2917, allocations: 29.7 kB / 441.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.2919, allocations: 212.5 kB / 441.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.2919, allocations: 67.41 kB / 442 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.292, allocations: 57.66 kB / 442 MB, free: 11.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2922, allocations: 330.8 kB / 442.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.2926, allocations: 124.2 kB / 442.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.293, allocations: 221.3 kB / 442.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007744/0.2938, allocations: 337.7 kB / 443 MB, free: 10.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2938, allocations: 4 kB / 443 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001237/0.295, allocations: 483.8 kB / 443.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.2951, allocations: 33.69 kB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2951, allocations: 4 kB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/0.2954, allocations: 72.88 kB / 443.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.2957, allocations: 63.89 kB / 443.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.2979, allocations: 1.533 MB / 445.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.2983, allocations: 67.81 kB / 445.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2984, allocations: 8 kB / 445.3 MB, free: 8.238 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.0001797/0.2985, allocations: 159 kB / 445.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.2986, allocations: 31.75 kB / 445.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.2986, allocations: 30.14 kB / 445.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2986, allocations: 4 kB / 445.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2986, allocations: 0 / 445.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2986, allocations: 3.984 kB / 445.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.3002, allocations: 0.7633 MB / 446.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3002, allocations: 4.031 kB / 446.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.3004, allocations: 43.91 kB / 446.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.3007, allocations: 64.81 kB / 446.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3007, allocations: 0 / 446.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.3027, allocations: 1.537 MB / 447.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3027, allocations: 0 / 447.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.3042, allocations: 0.5585 MB / 448.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.3043, allocations: 35.77 kB / 448.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.3043, allocations: 8 kB / 448.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.3046, allocations: 47.88 kB / 448.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.3047, allocations: 20.03 kB / 448.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.3047, allocations: 4 kB / 448.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000249/0.3049, allocations: 211.1 kB / 448.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3049, allocations: 3.938 kB / 448.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.3053, allocations: 83.83 kB / 448.9 MB, free: 4.441 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.00177/0.3071, allocations: 1.104 MB / 450 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.3081, allocations: 438.2 kB / 450.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3081, allocations: 0 / 450.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.3086, allocations: 234.5 kB / 450.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.3091, allocations: 57.09 kB / 450.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007203/0.3163, allocations: 3.666 MB / 454.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.3167, allocations: 0.7717 MB / 455.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.3168, allocations: 26.97 kB / 455.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.317, allocations: 95.41 kB / 455.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.317, allocations: 7.938 kB / 455.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04282/0.3598, allocations: 7.485 MB / 462.7 MB, free: 6.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.03, allocations: 4.062 kB / 462.7 MB, free: 6.492 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.40899367397651]