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.0008004/0.0008004, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.0008235/0.0008235, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8469/0.8469, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.473e-06/1.473e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.86e-05, allocations: 2.281 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003086/0.003105, allocations: 2.895 MB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.004181, allocations: 0.7675 MB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.004321, allocations: 11.94 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.004454, allocations: 55.42 kB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.004612, allocations: 127 kB / 328.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.00487, allocations: 127.8 kB / 328.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.005207, allocations: 470 kB / 329.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.005368, allocations: 95.39 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.005711, allocations: 271.3 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.005868, allocations: 143.6 kB / 329.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.005917, allocations: 44 kB / 329.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-05/0.005955, allocations: 44 kB / 329.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.006015, allocations: 87.66 kB / 329.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.006118, allocations: 139.6 kB / 329.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.00648, allocations: 0.4985 MB / 330.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006483, allocations: 0 / 330.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006484, allocations: 4 kB / 330.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.006489, allocations: 0 / 330.4 MB, free: 10.12 MB / 298.7 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.001144/0.007632, allocations: 0.6348 MB / 331 MB, free: 9.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.00767, allocations: 8.031 kB / 331 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/0.00772, allocations: 66.72 kB / 331.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.007771, allocations: 44.7 kB / 331.1 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.00805, allocations: 252.6 kB / 331.4 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.008067, allocations: 25.02 kB / 331.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.008102, allocations: 28.38 kB / 331.4 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.008559, allocations: 401 kB / 331.8 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.008575, allocations: 3.938 kB / 331.8 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.008594, allocations: 12 kB / 331.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.008601, allocations: 8 kB / 331.8 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.009037, allocations: 302.4 kB / 332.1 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.01028, allocations: 1.148 MB / 333.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.01063, allocations: 215.5 kB / 333.5 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.0108, allocations: 112.7 kB / 333.6 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.01082, allocations: 7.938 kB / 333.6 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.01111, allocations: 235.8 kB / 333.8 MB, free: 6.434 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 9.32e-07/0.01111, allocations: 4 kB / 333.8 MB, free: 6.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001159/0.01227, allocations: 0.6111 MB / 334.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.01231, allocations: 110.8 kB / 334.6 MB, free: 5.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.01252, allocations: 296.1 kB / 334.8 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.01254, allocations: 29.7 kB / 334.9 MB, free: 5.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.01263, allocations: 216 kB / 335.1 MB, free: 5.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.01266, allocations: 55.58 kB / 335.1 MB, free: 5.066 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.01272, allocations: 49.66 kB / 335.2 MB, free: 5.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.0128, allocations: 342.8 kB / 335.5 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.01299, allocations: 141.6 kB / 335.7 MB, free: 4.523 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.01322, allocations: 293.2 kB / 335.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.01359, allocations: 319.8 kB / 336.3 MB, free: 3.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01359, allocations: 0 / 336.3 MB, free: 3.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006531/0.01425, allocations: 0.5093 MB / 336.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.01428, allocations: 33.7 kB / 336.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01428, allocations: 3.984 kB / 336.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.01452, allocations: 84.73 kB / 336.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.01466, allocations: 63.95 kB / 336.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.01608, allocations: 1.886 MB / 338.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.01623, allocations: 59.75 kB / 338.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.01624, allocations: 15.98 kB / 338.9 MB, free: 1.02 MB / 298.7 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.0001013/0.01635, allocations: 149.8 kB / 339.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.01637, allocations: 23.86 kB / 339.1 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.0164, allocations: 29.8 kB / 339.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.0164, allocations: 0 / 339.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.0164, allocations: 4 kB / 339.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.0164, allocations: 7.938 kB / 339.1 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.01658, allocations: 276.5 kB / 339.4 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01658, allocations: 3.938 kB / 339.4 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.043e-05/0.01667, allocations: 27.97 kB / 339.4 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.01683, allocations: 92.83 kB / 339.5 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.01684, allocations: 0 / 339.5 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.01805, allocations: 1.69 MB / 341.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01805, allocations: 0 / 341.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.01883, allocations: 0.4962 MB / 341.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.01886, allocations: 27.83 kB / 341.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01888, allocations: 3.984 kB / 341.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.01899, allocations: 36.03 kB / 341.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.01906, allocations: 23.91 kB / 341.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.01907, allocations: 7.984 kB / 341.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.0192, allocations: 211 kB / 342 MB, free: 13.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0192, allocations: 0 / 342 MB, free: 13.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.01945, allocations: 91.84 kB / 342.1 MB, free: 13.64 MB / 314.7 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.0009015/0.02035, allocations: 1.03 MB / 343.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.02107, allocations: 466.2 kB / 343.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02107, allocations: 4 kB / 343.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.02131, allocations: 243 kB / 343.8 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.02153, allocations: 50.03 kB / 343.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.02496, allocations: 3.42 MB / 347.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.675e-05/0.02505, allocations: 155.8 kB / 347.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.164e-05/0.02512, allocations: 30.97 kB / 347.5 MB, free: 7.984 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/0.02521, allocations: 92.47 kB / 347.6 MB, free: 7.895 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02521, allocations: 0 / 347.6 MB, free: 7.895 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.04643, allocations: 8.237 MB / 355.8 MB, free: 15.85 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.781, allocations: 13.94 kB / 355.8 MB, free: 15.84 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/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: 9.350957646034658]