Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 189.5 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 47.92 kB / 371.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2602, allocations: 52.19 MB / 423.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004607/0.2648, allocations: 2.854 MB / 426.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2662, allocations: 0.7403 MB / 427 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.2664, allocations: 7.938 kB / 427 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.2665, allocations: 55.48 kB / 427.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.2668, allocations: 115 kB / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.2671, allocations: 139.7 kB / 427.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005188/0.2676, allocations: 458.3 kB / 427.7 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.2678, allocations: 103.5 kB / 427.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.2681, allocations: 179.4 kB / 428 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.2683, allocations: 191.2 kB / 428.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.2684, allocations: 44 kB / 428.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.2685, allocations: 44 kB / 428.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.2686, allocations: 91.67 kB / 428.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.2687, allocations: 163.2 kB / 428.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.2693, allocations: 0.4942 MB / 429 MB, free: 8.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2693, allocations: 0 / 429 MB, free: 8.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2693, allocations: 0 / 429 MB, free: 8.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2693, allocations: 4 kB / 429 MB, free: 8.684 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.001338/0.2706, allocations: 0.6394 MB / 429.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2706, allocations: 8.031 kB / 429.7 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.096e-05/0.2707, allocations: 12.84 kB / 429.7 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.568e-05/0.2707, allocations: 62.72 kB / 429.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.2708, allocations: 40.7 kB / 429.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.2712, allocations: 252.9 kB / 430.1 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.2713, allocations: 21.03 kB / 430.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.91e-05/0.2713, allocations: 35.94 kB / 430.1 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/0.2721, allocations: 404.4 kB / 430.5 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2721, allocations: 0 / 430.5 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.2722, allocations: 8 kB / 430.5 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.2722, allocations: 8 kB / 430.5 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008633/0.273, allocations: 306.4 kB / 430.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.2752, allocations: 1.128 MB / 431.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.276, allocations: 250.3 kB / 432.2 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.2764, allocations: 136.8 kB / 432.3 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.2764, allocations: 8 kB / 432.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005165/0.2769, allocations: 241.2 kB / 432.6 MB, free: 4.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.2769, allocations: 0 / 432.6 MB, free: 4.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002048/0.279, allocations: 0.5675 MB / 433.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.2791, allocations: 110.8 kB / 433.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.2794, allocations: 300.4 kB / 433.5 MB, free: 3.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.2794, allocations: 33.7 kB / 433.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2796, allocations: 212.3 kB / 433.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.121e-05/0.2796, allocations: 63.52 kB / 433.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.2797, allocations: 53.7 kB / 433.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2799, allocations: 330.8 kB / 434.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.2803, allocations: 145.9 kB / 434.4 MB, free: 3.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.2808, allocations: 302.4 kB / 434.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.2815, allocations: 333.8 kB / 435 MB, free: 2.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2815, allocations: 4 kB / 435 MB, free: 2.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001285/0.2828, allocations: 0.5108 MB / 435.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.2829, allocations: 33.69 kB / 435.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2829, allocations: 8.062 kB / 435.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.2832, allocations: 60.83 kB / 435.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.2835, allocations: 71.88 kB / 435.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.2858, allocations: 1.533 MB / 437.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.2862, allocations: 55.78 kB / 437.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.2862, allocations: 20 kB / 437.3 MB, free: 15.92 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.0001696/0.2864, allocations: 153.7 kB / 437.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.2864, allocations: 31.8 kB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.2865, allocations: 26.14 kB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2865, allocations: 4 kB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2865, allocations: 0 / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2865, allocations: 3.984 kB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.288, allocations: 0.7292 MB / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.288, allocations: 0 / 438.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.2882, allocations: 47.84 kB / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.2885, allocations: 68.84 kB / 438.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.2885, allocations: 0 / 438.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.2906, allocations: 1.514 MB / 439.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2906, allocations: 0 / 439.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.2921, allocations: 0.5749 MB / 440.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.2921, allocations: 31.73 kB / 440.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.2922, allocations: 8 kB / 440.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.2925, allocations: 32.03 kB / 440.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.2926, allocations: 27.95 kB / 440.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.2926, allocations: 7.938 kB / 440.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.2928, allocations: 207.1 kB / 440.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2928, allocations: 4 kB / 440.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.2933, allocations: 79.89 kB / 440.8 MB, free: 12.18 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.001867/0.2952, allocations: 1.118 MB / 441.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.2962, allocations: 463.4 kB / 442.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2962, allocations: 0 / 442.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.2967, allocations: 239.2 kB / 442.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.2972, allocations: 52.83 kB / 442.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007922/0.3051, allocations: 3.788 MB / 446.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.3053, allocations: 155.8 kB / 446.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.3055, allocations: 30.97 kB / 446.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.3056, allocations: 95.41 kB / 446.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3056, allocations: 0 / 446.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03654/0.3422, allocations: 7.68 MB / 454.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.01, allocations: 2.062 kB / 454.4 MB, free: 14.52 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.351551415049471]