Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.001768/0.001768, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001981/0.001981, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.394/1.394, allocations: 225.7 MB / 253.3 MB, free: 13.04 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.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 47.92 kB / 371.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2662, allocations: 52.18 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00444/0.2706, allocations: 3.113 MB / 426.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.272, allocations: 0.7715 MB / 427.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.2721, allocations: 11.94 kB / 427.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.2723, allocations: 51.5 kB / 427.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.2725, allocations: 123 kB / 427.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.2729, allocations: 123.8 kB / 427.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.2734, allocations: 454.2 kB / 428.1 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.2736, allocations: 99.5 kB / 428.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.2738, allocations: 179.3 kB / 428.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.2741, allocations: 195.2 kB / 428.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.2741, allocations: 44 kB / 428.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.258e-05/0.2742, allocations: 44 kB / 428.6 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.2743, allocations: 83.7 kB / 428.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.2745, allocations: 195.1 kB / 428.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.275, allocations: 0.4911 MB / 429.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.275, allocations: 4 kB / 429.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.275, allocations: 0 / 429.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.275, allocations: 0 / 429.4 MB, free: 8.613 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.001364/0.2764, allocations: 0.6355 MB / 430 MB, free: 7.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2765, allocations: 12.03 kB / 430 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.808e-05/0.2765, allocations: 8.844 kB / 430 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.893e-05/0.2765, allocations: 66.72 kB / 430.1 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.2766, allocations: 36.7 kB / 430.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.2771, allocations: 260.9 kB / 430.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.2771, allocations: 25.03 kB / 430.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.2771, allocations: 27.94 kB / 430.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/0.2779, allocations: 353 kB / 430.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2779, allocations: 3.938 kB / 430.8 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.2779, allocations: 19.97 kB / 430.8 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2779, allocations: 4 kB / 430.8 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008727/0.2788, allocations: 298.4 kB / 431.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.281, allocations: 1.241 MB / 432.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.2817, allocations: 218.4 kB / 432.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.282, allocations: 104.8 kB / 432.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2821, allocations: 4 kB / 432.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004922/0.2826, allocations: 193.2 kB / 432.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.2826, allocations: 0 / 432.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002465/0.285, allocations: 0.6072 MB / 433.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.2851, allocations: 110.7 kB / 433.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.2855, allocations: 296.2 kB / 433.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.2855, allocations: 25.7 kB / 433.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2857, allocations: 216 kB / 434.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.2858, allocations: 59.56 kB / 434.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.2859, allocations: 57.66 kB / 434.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2861, allocations: 338.8 kB / 434.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.2865, allocations: 107.9 kB / 434.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/0.2869, allocations: 211.9 kB / 434.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007753/0.2877, allocations: 319.7 kB / 435.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.2877, allocations: 8 kB / 435.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001351/0.2891, allocations: 490.3 kB / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.2891, allocations: 29.7 kB / 435.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2891, allocations: 8.062 kB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/0.2895, allocations: 88.73 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.2898, allocations: 51.95 kB / 435.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/0.2928, allocations: 1.906 MB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.2932, allocations: 51.75 kB / 437.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.2932, allocations: 19.94 kB / 437.8 MB, free: 15.7 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.0002069/0.2934, allocations: 153.8 kB / 438 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.2935, allocations: 23.86 kB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.657e-05/0.2935, allocations: 33.73 kB / 438 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2935, allocations: 0 / 438 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2935, allocations: 4 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2935, allocations: 0 / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.2939, allocations: 316.5 kB / 438.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2939, allocations: 4 kB / 438.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.2941, allocations: 31.97 kB / 438.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/0.2943, allocations: 80.81 kB / 438.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.2944, allocations: 7.922 kB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.2968, allocations: 1.702 MB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2968, allocations: 8 kB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.2983, allocations: 0.4935 MB / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.2983, allocations: 32.06 kB / 440.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.2984, allocations: 4.125 kB / 440.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.2986, allocations: 35.97 kB / 440.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.2987, allocations: 23.95 kB / 440.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.2987, allocations: 4 kB / 440.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.299, allocations: 215.1 kB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.299, allocations: 0 / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.2994, allocations: 91.84 kB / 441.1 MB, free: 12.27 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.001829/0.3012, allocations: 1.03 MB / 442.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3023, allocations: 437.8 kB / 442.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3023, allocations: 0 / 442.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.3028, allocations: 251.1 kB / 442.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.3032, allocations: 52.83 kB / 442.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/0.309, allocations: 3.309 MB / 446.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.3094, allocations: 0.7716 MB / 446.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.3095, allocations: 22.98 kB / 446.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.3097, allocations: 95.41 kB / 447 MB, free: 6.051 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3097, allocations: 0 / 447 MB, free: 6.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.3432, allocations: 7.629 MB / 454.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.56, allocations: 7.688 kB / 454.6 MB, free: 14.61 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.985386797983665]