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.001563/0.001563, allocations: 107.9 kB / 18.48 MB, free: 4.543 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.001828/0.001828, allocations: 198.5 kB / 21.43 MB, free: 1.609 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.37/1.37, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.001454/0.001454, allocations: 43.94 kB / 366.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09822, allocations: 52.14 MB / 418.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004679/0.1029, allocations: 3.087 MB / 421.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1043, allocations: 0.7715 MB / 422.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1045, allocations: 7.938 kB / 422.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.1046, allocations: 47.5 kB / 422.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.1049, allocations: 119 kB / 422.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1052, allocations: 135.8 kB / 422.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000502/0.1057, allocations: 458.2 kB / 423.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.1059, allocations: 102.9 kB / 423.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1062, allocations: 171.4 kB / 423.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.1064, allocations: 187.2 kB / 423.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.396e-05/0.1065, allocations: 44 kB / 423.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.1066, allocations: 48 kB / 423.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.992e-05/0.1066, allocations: 91.67 kB / 423.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1069, allocations: 207 kB / 424 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.1074, allocations: 0.4903 MB / 424.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1074, allocations: 0 / 424.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1074, allocations: 0 / 424.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.1074, allocations: 0 / 424.5 MB, free: 6.605 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.001466/0.1089, allocations: 0.7146 MB / 425.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1089, allocations: 12.03 kB / 425.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.037e-05/0.1089, allocations: 8.75 kB / 425.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.109, allocations: 70.66 kB / 425.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.1091, allocations: 36.7 kB / 425.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.1096, allocations: 310.8 kB / 425.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1096, allocations: 20.94 kB / 425.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.1096, allocations: 35.92 kB / 425.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007831/0.1104, allocations: 351.6 kB / 426 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1104, allocations: 0 / 426 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.1105, allocations: 12 kB / 426 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1105, allocations: 8 kB / 426 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/0.1113, allocations: 306 kB / 426.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.1135, allocations: 1.272 MB / 427.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/0.1144, allocations: 323.4 kB / 427.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/0.1148, allocations: 136.8 kB / 428 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1148, allocations: 0 / 428 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005006/0.1153, allocations: 203.6 kB / 428.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.1153, allocations: 0 / 428.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002179/0.1175, allocations: 0.6341 MB / 428.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.1176, allocations: 110.8 kB / 429 MB, free: 1.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.1179, allocations: 295.2 kB / 429.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.118, allocations: 29.7 kB / 429.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1181, allocations: 216.3 kB / 429.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.1182, allocations: 55.55 kB / 429.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1183, allocations: 57.69 kB / 429.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1184, allocations: 334.8 kB / 429.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/0.1188, allocations: 120.1 kB / 430.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.1192, allocations: 212.6 kB / 430.3 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.12, allocations: 347.5 kB / 430.6 MB, free: 36 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.12, allocations: 0 / 430.6 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001322/0.1213, allocations: 493.8 kB / 431.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.1214, allocations: 29.7 kB / 431.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1214, allocations: 4 kB / 431.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.1217, allocations: 64.81 kB / 431.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.122, allocations: 71.95 kB / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.1243, allocations: 1.636 MB / 432.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.1247, allocations: 51.75 kB / 432.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.1247, allocations: 20.06 kB / 433 MB, free: 13.52 MB / 366.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.0001771/0.1249, allocations: 154.9 kB / 433.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.1249, allocations: 31.78 kB / 433.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.125, allocations: 30.22 kB / 433.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.125, allocations: 4 kB / 433.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.125, allocations: 0 / 433.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.125, allocations: 3.984 kB / 433.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.1266, allocations: 0.8053 MB / 434 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1266, allocations: 0 / 434 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.1269, allocations: 47.89 kB / 434 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.1271, allocations: 56.86 kB / 434.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.1271, allocations: 11.98 kB / 434.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.1292, allocations: 1.617 MB / 435.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1292, allocations: 4.031 kB / 435.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.1307, allocations: 0.571 MB / 436.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.1308, allocations: 112.9 kB / 436.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.1308, allocations: 4 kB / 436.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.1311, allocations: 35.95 kB / 436.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.1312, allocations: 15.98 kB / 436.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1312, allocations: 15.97 kB / 436.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.1314, allocations: 210 kB / 436.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1314, allocations: 4 kB / 436.7 MB, free: 9.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003909/0.1318, allocations: 79.89 kB / 436.8 MB, free: 9.457 MB / 366.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.001885/0.1337, allocations: 1.12 MB / 437.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1348, allocations: 433.7 kB / 438.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1348, allocations: 4 kB / 438.3 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004877/0.1353, allocations: 239.2 kB / 438.5 MB, free: 7.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.1357, allocations: 61.52 kB / 438.6 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/0.1431, allocations: 3.666 MB / 442.3 MB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.1435, allocations: 0.76 MB / 443 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.1437, allocations: 30.97 kB / 443.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.1438, allocations: 91.41 kB / 443.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1438, allocations: 0 / 443.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2202/0.3641, allocations: 7.306 MB / 450.5 MB, free: 30.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.02, allocations: 22.95 kB / 450.5 MB, free: 30.05 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.36961616697954]