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.001323/0.001323, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001313/0.001313, allocations: 188.4 kB / 24.49 MB, free: 3.957 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.369/1.369, allocations: 225.7 MB / 253.3 MB, free: 12.85 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.00144/0.00144, allocations: 39.94 kB / 371.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.239, allocations: 52.19 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004452/0.2434, allocations: 2.851 MB / 426.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2451, allocations: 0.7403 MB / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.2453, allocations: 7.938 kB / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.2455, allocations: 55.48 kB / 427 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.2457, allocations: 123 kB / 427.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.2461, allocations: 131.8 kB / 427.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.2467, allocations: 450.3 kB / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.2469, allocations: 95.5 kB / 427.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.2471, allocations: 179.4 kB / 428 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.2474, allocations: 195.1 kB / 428.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/0.2475, allocations: 44 kB / 428.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.2475, allocations: 44 kB / 428.3 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.2476, allocations: 83.7 kB / 428.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.2478, allocations: 163.2 kB / 428.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.2484, allocations: 0.4981 MB / 429 MB, free: 8.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2484, allocations: 0 / 429 MB, free: 8.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2484, allocations: 0 / 429 MB, free: 8.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.2484, allocations: 0 / 429 MB, free: 8.762 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.00139/0.2498, allocations: 0.6355 MB / 429.7 MB, free: 8.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2498, allocations: 8.031 kB / 429.7 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.702e-05/0.2498, allocations: 8.844 kB / 429.7 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.9e-05/0.2499, allocations: 62.72 kB / 429.7 MB, free: 8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.934e-05/0.25, allocations: 40.7 kB / 429.8 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.2505, allocations: 252.9 kB / 430 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.2505, allocations: 29.03 kB / 430 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.2506, allocations: 31.94 kB / 430.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.2514, allocations: 404.4 kB / 430.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2514, allocations: 0 / 430.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.2514, allocations: 8 kB / 430.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.2514, allocations: 8 kB / 430.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008434/0.2523, allocations: 302.4 kB / 430.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.2545, allocations: 1.151 MB / 431.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.2552, allocations: 214.4 kB / 432.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.2555, allocations: 112.8 kB / 432.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.2555, allocations: 4 kB / 432.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005137/0.256, allocations: 237.2 kB / 432.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.256, allocations: 4 kB / 432.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002378/0.2584, allocations: 0.6067 MB / 433.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.2585, allocations: 110.8 kB / 433.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.2589, allocations: 296.2 kB / 433.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.2589, allocations: 33.7 kB / 433.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.259, allocations: 212 kB / 433.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.2591, allocations: 59.52 kB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.2592, allocations: 57.66 kB / 433.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2594, allocations: 334.8 kB / 434.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.2597, allocations: 145.6 kB / 434.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.2602, allocations: 293 kB / 434.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.2609, allocations: 322.3 kB / 434.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.261, allocations: 8 kB / 434.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001305/0.2623, allocations: 0.5053 MB / 435.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.2623, allocations: 37.7 kB / 435.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2623, allocations: 12.05 kB / 435.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003679/0.2627, allocations: 84.73 kB / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.2629, allocations: 51.95 kB / 435.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.2656, allocations: 1.89 MB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.266, allocations: 55.75 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.266, allocations: 12.06 kB / 437.6 MB, free: 15.66 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.0001872/0.2662, allocations: 157.8 kB / 437.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.2663, allocations: 23.86 kB / 437.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.2663, allocations: 29.73 kB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2663, allocations: 4 kB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2663, allocations: 0 / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2663, allocations: 0 / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.2666, allocations: 276.6 kB / 438.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2666, allocations: 8 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.2668, allocations: 35.91 kB / 438.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002775/0.2671, allocations: 80.8 kB / 438.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.2671, allocations: 3.938 kB / 438.2 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/0.2694, allocations: 1.694 MB / 439.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2694, allocations: 0 / 439.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.2708, allocations: 0.4896 MB / 440.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.2709, allocations: 32.06 kB / 440.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.2709, allocations: 12.12 kB / 440.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.2712, allocations: 31.95 kB / 440.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.2713, allocations: 23.97 kB / 440.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.2713, allocations: 4 kB / 440.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.2715, allocations: 219.1 kB / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2715, allocations: 0 / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.2719, allocations: 87.84 kB / 440.8 MB, free: 12.28 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.001773/0.2737, allocations: 1.042 MB / 441.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2747, allocations: 459.7 kB / 442.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2747, allocations: 0 / 442.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.2752, allocations: 242.5 kB / 442.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2755, allocations: 48.03 kB / 442.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005762/0.2813, allocations: 3.441 MB / 446 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.2814, allocations: 159.7 kB / 446.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.2815, allocations: 26.98 kB / 446.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.2817, allocations: 87.41 kB / 446.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2817, allocations: 0 / 446.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.3155, allocations: 7.722 MB / 454 MB, free: 15.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.01, allocations: 10.91 kB / 454 MB, free: 15.01 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: 15.338127085007727]