Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.001148/0.001148, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001763/0.002911, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0012/0.0012, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002777, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09403/1.11, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.196e-05, allocations: 6.25 kB / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00651/0.006532, allocations: 7.58 MB / 252.2 MB, free: 6.641 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.01089, allocations: 1.986 MB / 254.1 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.01204, allocations: 31.81 kB / 254.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.01249, allocations: 237.7 kB / 254.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009727/0.01346, allocations: 475.9 kB / 254.9 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.01472, allocations: 0.511 MB / 255.4 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.01676, allocations: 1.84 MB / 257.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005849/0.01735, allocations: 424.3 kB / 257.6 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.01885, allocations: 1.139 MB / 258.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005689/0.01941, allocations: 0.5569 MB / 259.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.0196, allocations: 180 kB / 259.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.01978, allocations: 180 kB / 259.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.01994, allocations: 275.1 kB / 260 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.02034, allocations: 455.2 kB / 260.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008509/0.0212, allocations: 1.035 MB / 261.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.719e-05/0.02121, allocations: 0 / 261.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02121, allocations: 0 / 261.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.02124, allocations: 0 / 261.4 MB, free: 13.3 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002076/0.02331, allocations: 1.957 MB / 263.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.02335, allocations: 11.98 kB / 263.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.02353, allocations: 208.8 kB / 263.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.0241, allocations: 0.4935 MB / 264.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.02415, allocations: 90.83 kB / 264.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.755e-05/0.02424, allocations: 132.3 kB / 264.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009427/0.02519, allocations: 1.241 MB / 265.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.0252, allocations: 3.938 kB / 265.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.02526, allocations: 52 kB / 265.6 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.02527, allocations: 32 kB / 265.6 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.02567, allocations: 331.4 kB / 266 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/0.02915, allocations: 3.545 MB / 269.5 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.03002, allocations: 0.5479 MB / 270.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.03027, allocations: 230.6 kB / 270.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.0303, allocations: 16.66 kB / 270.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.03033, allocations: 51.2 kB / 270.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 2.144e-06/0.03034, allocations: 4 kB / 270.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.002031/0.03237, allocations: 1.24 MB / 271.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.0324, allocations: 85.77 kB / 271.7 MB, free: 2.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.03281, allocations: 0.6286 MB / 272.3 MB, free: 1.941 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.03284, allocations: 45.7 kB / 272.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.03306, allocations: 0.5251 MB / 272.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.03319, allocations: 293.4 kB / 273.2 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.03333, allocations: 178.5 kB / 273.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.03346, allocations: 406.5 kB / 273.7 MB, free: 496 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.03358, allocations: 93.89 kB / 273.8 MB, free: 400 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.03381, allocations: 335.7 kB / 274.2 MB, free: 15.97 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.03421, allocations: 0.495 MB / 274.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.03421, allocations: 0 / 274.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.000698/0.03491, allocations: 0.646 MB / 275.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.03493, allocations: 8 kB / 275.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.03494, allocations: 11.94 kB / 275.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/0.03537, allocations: 202.7 kB / 275.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.03651, allocations: 0.593 MB / 276.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004651/0.04116, allocations: 8.065 MB / 284.2 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.04158, allocations: 119.4 kB / 284.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.04161, allocations: 32 kB / 284.3 MB, free: 5.188 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.04182, allocations: 165.5 kB / 284.5 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.868e-05/0.04192, allocations: 87.91 kB / 284.6 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.002e-05/0.04201, allocations: 104.1 kB / 284.7 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.04202, allocations: 8 kB / 284.7 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.04203, allocations: 4 kB / 284.7 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.04204, allocations: 7.922 kB / 284.7 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.0435, allocations: 1.143 MB / 285.8 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.04351, allocations: 7.938 kB / 285.8 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.04382, allocations: 143.1 kB / 286 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/0.04391, allocations: 91.2 kB / 286.1 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005876/0.0445, allocations: 368.8 kB / 286.4 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.04453, allocations: 20 kB / 286.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1601/0.2047, allocations: 8.016 MB / 294.5 MB, free: 23.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.2047, allocations: 3.094 kB / 294.5 MB, free: 23.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.2062, allocations: 0.9174 MB / 295.4 MB, free: 22.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.2064, allocations: 14 kB / 295.4 MB, free: 22.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.2068, allocations: 83.84 kB / 295.5 MB, free: 22.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.2069, allocations: 62.09 kB / 295.5 MB, free: 22.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.2069, allocations: 21.92 kB / 295.6 MB, free: 22.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003326/0.2073, allocations: 296.6 kB / 295.9 MB, free: 22.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2073, allocations: 2.469 kB / 295.9 MB, free: 22.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001035/0.2083, allocations: 369.7 kB / 296.2 MB, free: 22.71 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.2085, allocations: 115.2 kB / 296.3 MB, free: 22.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.2104, allocations: 1.214 MB / 297.5 MB, free: 22.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.696e-05/0.2104, allocations: 16.67 kB / 297.6 MB, free: 22.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.211, allocations: 0.9397 MB / 298.5 MB, free: 21.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.2117, allocations: 264.2 kB / 298.8 MB, free: 21.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/0.2182, allocations: 2.033 MB / 300.8 MB, free: 20.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2185, allocations: 210.5 kB / 301 MB, free: 20.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003853/0.2189, allocations: 94.52 kB / 301.1 MB, free: 20.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.2192, allocations: 241.1 kB / 301.3 MB, free: 20.56 MB / 282.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2192, allocations: 0 / 301.3 MB, free: 20.56 MB / 282.7 MB Notification: Performance of Templates: time 0.01814/0.2374, allocations: 15.07 MB / 316.4 MB, free: 14.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.171568906866014]