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.001076/0.001076, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001005/0.001005, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.9249/0.9249, allocations: 173.4 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 318.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.627e-05, allocations: 10.22 kB / 318.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003127/0.003143, allocations: 2.843 MB / 321.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000943/0.004086, allocations: 0.7442 MB / 322.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.004223, allocations: 11.88 kB / 322.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.004367, allocations: 55.48 kB / 322.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.004529, allocations: 123 kB / 322.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.004817, allocations: 135.7 kB / 322.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.005184, allocations: 473.9 kB / 322.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.005368, allocations: 95.48 kB / 322.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.005615, allocations: 259.4 kB / 323.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.005758, allocations: 143.6 kB / 323.3 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.005804, allocations: 47.94 kB / 323.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.719e-05/0.005841, allocations: 44 kB / 323.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.005896, allocations: 87.67 kB / 323.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.005997, allocations: 139.7 kB / 323.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.006359, allocations: 0.5024 MB / 324.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006361, allocations: 4 kB / 324.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.006363, allocations: 0 / 324.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.006368, allocations: 0 / 324.2 MB, free: 0.6211 MB / 282.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.0008818/0.00725, allocations: 0.6394 MB / 324.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.007287, allocations: 16.86 kB / 324.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.007337, allocations: 62.73 kB / 324.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.007389, allocations: 40.7 kB / 324.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.007676, allocations: 252.7 kB / 325.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.007695, allocations: 21.03 kB / 325.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.007729, allocations: 24.38 kB / 325.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.008214, allocations: 409 kB / 325.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.008224, allocations: 3.938 kB / 325.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.008244, allocations: 12 kB / 325.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.00825, allocations: 8 kB / 325.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.008703, allocations: 306.4 kB / 325.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.009991, allocations: 1.125 MB / 327.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.01042, allocations: 250.4 kB / 327.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.01065, allocations: 132.8 kB / 327.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.01067, allocations: 3.938 kB / 327.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003148/0.01098, allocations: 249.4 kB / 327.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.01098, allocations: 96 / 327.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001131/0.01211, allocations: 0.5748 MB / 328.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.01216, allocations: 106.8 kB / 328.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.01238, allocations: 304.1 kB / 328.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.0124, allocations: 29.7 kB / 328.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.0125, allocations: 212.3 kB / 328.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.01254, allocations: 59.52 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.0126, allocations: 57.66 kB / 329 MB, free: 11.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.0127, allocations: 338.8 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.01294, allocations: 149.8 kB / 329.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.0132, allocations: 294.5 kB / 329.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.01362, allocations: 342.7 kB / 330.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01362, allocations: 3.938 kB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006867/0.01431, allocations: 0.4975 MB / 330.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.01434, allocations: 41.75 kB / 330.6 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.01435, allocations: 4 kB / 330.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.01455, allocations: 64.75 kB / 330.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.0147, allocations: 71.89 kB / 330.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.01592, allocations: 1.524 MB / 332.3 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.01609, allocations: 67.78 kB / 332.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.01611, allocations: 12 kB / 332.4 MB, free: 7.852 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 (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.000106/0.01621, allocations: 153.8 kB / 332.5 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.01624, allocations: 23.86 kB / 332.6 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.01627, allocations: 30.14 kB / 332.6 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01627, allocations: 7.938 kB / 332.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.01627, allocations: 0 / 332.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01628, allocations: 3.984 kB / 332.6 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/0.01716, allocations: 0.7292 MB / 333.3 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01716, allocations: 0 / 333.3 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.01728, allocations: 39.97 kB / 333.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.01741, allocations: 68.78 kB / 333.4 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01743, allocations: 4 kB / 333.4 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.01851, allocations: 1.514 MB / 334.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01852, allocations: 8.031 kB / 335 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/0.01927, allocations: 0.5536 MB / 335.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.0193, allocations: 31.81 kB / 335.5 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.01932, allocations: 11.94 kB / 335.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.01946, allocations: 32.03 kB / 335.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.01952, allocations: 31.89 kB / 335.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.01953, allocations: 7.938 kB / 335.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.01967, allocations: 207.1 kB / 335.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01967, allocations: 0 / 335.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.01992, allocations: 87.84 kB / 335.9 MB, free: 4.117 MB / 298.7 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.0009867/0.0209, allocations: 1.108 MB / 337 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.02149, allocations: 478 kB / 337.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02149, allocations: 0 / 337.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.02174, allocations: 231.3 kB / 337.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.02201, allocations: 52.95 kB / 337.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.02604, allocations: 3.747 MB / 341.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.02614, allocations: 167.7 kB / 341.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.21e-05/0.02622, allocations: 34.91 kB / 341.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.02632, allocations: 96.47 kB / 341.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02632, allocations: 0 / 341.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.05049, allocations: 8.158 MB / 350 MB, free: 5.973 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/7.874, allocations: 4.562 kB / 350 MB, free: 5.969 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/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: 9.592960306443274]