Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.001769/0.001769, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002166/0.002166, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.431/1.431, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.HighPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 51.92 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09896, allocations: 53.33 MB / 426.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004554/0.1035, allocations: 3.097 MB / 429.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1049, allocations: 0.8104 MB / 430.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.1051, allocations: 11.94 kB / 430.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.1052, allocations: 47.5 kB / 430.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.1054, allocations: 119 kB / 430.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.1058, allocations: 131.8 kB / 430.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005088/0.1063, allocations: 450.3 kB / 431 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.192/0.2984, allocations: 98.45 kB / 431.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.2989, allocations: 181.5 kB / 431.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.2991, allocations: 192.4 kB / 431.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/0.2992, allocations: 44.31 kB / 431.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.2993, allocations: 44.28 kB / 431.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.2993, allocations: 85.73 kB / 431.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.2995, allocations: 195 kB / 431.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.3, allocations: 499.6 kB / 432.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3, allocations: 0 / 432.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3, allocations: 0 / 432.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3, allocations: 6.094 kB / 432.3 MB, free: 7.551 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.001197/0.3012, allocations: 0.7173 MB / 433 MB, free: 7.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3013, allocations: 9.156 kB / 433 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.3013, allocations: 63.06 kB / 433.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.3014, allocations: 41.2 kB / 433.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.3018, allocations: 310 kB / 433.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.3018, allocations: 23.5 kB / 433.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.3018, allocations: 28.17 kB / 433.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.3025, allocations: 352.9 kB / 433.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3025, allocations: 1.078 kB / 433.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.3026, allocations: 11.8 kB / 433.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3026, allocations: 6.719 kB / 433.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.3034, allocations: 307.8 kB / 434.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.3054, allocations: 1.281 MB / 435.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/0.3061, allocations: 218.7 kB / 435.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.3065, allocations: 105.4 kB / 435.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.3065, allocations: 1.594 kB / 435.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.307, allocations: 195.3 kB / 436 MB, free: 6.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.307, allocations: 0 / 436 MB, free: 6.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00245/0.3094, allocations: 0.6866 MB / 436.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3095, allocations: 106.6 kB / 436.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.3098, allocations: 292.4 kB / 437 MB, free: 5.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3098, allocations: 33.64 kB / 437.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3099, allocations: 219.5 kB / 437.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.3099, allocations: 53.89 kB / 437.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.31, allocations: 57.91 kB / 437.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.3101, allocations: 341.8 kB / 437.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.3104, allocations: 107.6 kB / 437.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.3108, allocations: 214.2 kB / 438 MB, free: 4.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.3115, allocations: 323.2 kB / 438.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3116, allocations: 1 kB / 438.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001305/0.3129, allocations: 493.3 kB / 438.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.3129, allocations: 38.48 kB / 438.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3129, allocations: 2.156 kB / 438.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.3133, allocations: 81.05 kB / 439 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.3135, allocations: 57.89 kB / 439 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.3158, allocations: 2.001 MB / 441 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.3161, allocations: 56.78 kB / 441.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3162, allocations: 11.53 kB / 441.1 MB, free: 2.992 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 (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.3163, allocations: 152 kB / 441.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.3163, allocations: 28.25 kB / 441.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.3164, allocations: 32.42 kB / 441.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3164, allocations: 5.25 kB / 441.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3164, allocations: 0 / 441.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3164, allocations: 2.203 kB / 441.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.3167, allocations: 338.7 kB / 441.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3167, allocations: 4 kB / 441.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.3169, allocations: 32.06 kB / 441.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002737/0.3172, allocations: 81.5 kB / 441.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.3172, allocations: 10.45 kB / 441.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.3192, allocations: 1.812 MB / 443.6 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3192, allocations: 1.062 kB / 443.6 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.3207, allocations: 0.4906 MB / 444.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.3207, allocations: 105.8 kB / 444.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.3208, allocations: 7 kB / 444.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.321, allocations: 34.42 kB / 444.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.3211, allocations: 23.12 kB / 444.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.3211, allocations: 8.453 kB / 444.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.3213, allocations: 207.8 kB / 444.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3213, allocations: 1.125 kB / 444.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004052/0.3217, allocations: 84.67 kB / 444.5 MB, free: 0.543 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/0.3234, allocations: 1.042 MB / 445.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3245, allocations: 442 kB / 446 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3245, allocations: 4.188 kB / 446 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.325, allocations: 235.7 kB / 446.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3254, allocations: 57.8 kB / 446.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.3313, allocations: 3.328 MB / 449.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.3317, allocations: 0.7688 MB / 450.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.3318, allocations: 30.89 kB / 450.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.332, allocations: 92.27 kB / 450.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.332, allocations: 1.031 kB / 450.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/0.3731, allocations: 7.414 MB / 457.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.04, allocations: 9.297 kB / 457.9 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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: 14.402961985906586]