Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001564/0.001564, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001741/0.001741, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.83 kB / 378.8 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2858, allocations: 53.32 MB / 432.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009389/0.2952, allocations: 7.928 MB / 440 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.2995, allocations: 1.917 MB / 441.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.3006, allocations: 27.94 kB / 442 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008094/0.3015, allocations: 233.7 kB / 442.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.303, allocations: 456.2 kB / 442.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3042, allocations: 0.4916 MB / 443.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.3066, allocations: 1.798 MB / 444.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007491/0.3073, allocations: 447.8 kB / 445.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008556/0.3082, allocations: 0.6345 MB / 446 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009249/0.3091, allocations: 0.7233 MB / 446.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.3093, allocations: 176 kB / 446.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.3096, allocations: 180 kB / 447.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003018/0.3099, allocations: 350.8 kB / 447.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007664/0.3107, allocations: 0.7814 MB / 448.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.3129, allocations: 2.048 MB / 450.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3129, allocations: 0 / 450.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3129, allocations: 4 kB / 450.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.243e-05/0.3129, allocations: 3.938 kB / 450.3 MB, free: 5.062 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003662/0.3166, allocations: 1.823 MB / 452.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3167, allocations: 8.031 kB / 452.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.3169, allocations: 167.9 kB / 452.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.3182, allocations: 0.7614 MB / 453 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/0.3183, allocations: 98.39 kB / 453.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.3184, allocations: 120 kB / 453.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.3209, allocations: 1.316 MB / 454.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.3209, allocations: 0 / 454.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.321, allocations: 52 kB / 454.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.3211, allocations: 32 kB / 454.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.3236, allocations: 1.122 MB / 455.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008242/0.3318, allocations: 4.962 MB / 460.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.3344, allocations: 1.149 MB / 461.9 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.3355, allocations: 486 kB / 462.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.3355, allocations: 16.8 kB / 462.3 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.3356, allocations: 47.22 kB / 462.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.946e-06/0.3356, allocations: 0 / 462.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009038/0.3446, allocations: 2.929 MB / 465.3 MB, free: 5.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.3447, allocations: 93.75 kB / 465.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.3459, allocations: 0.802 MB / 466.2 MB, free: 4.492 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.573e-05/0.346, allocations: 37.7 kB / 466.2 MB, free: 4.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/0.3464, allocations: 0.6014 MB / 466.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.3467, allocations: 293.5 kB / 467.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.347, allocations: 174.6 kB / 467.3 MB, free: 3.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3471, allocations: 345.9 kB / 467.6 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009342/0.3481, allocations: 369.8 kB / 468 MB, free: 2.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.3492, allocations: 0.5777 MB / 468.6 MB, free: 2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.3512, allocations: 0.9559 MB / 469.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3512, allocations: 7.938 kB / 469.5 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003377/0.3545, allocations: 1.35 MB / 470.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3546, allocations: 8.312 kB / 470.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3546, allocations: 12 kB / 470.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008587/0.3554, allocations: 218.7 kB / 471.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/0.3591, allocations: 0.8349 MB / 472 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.3741, allocations: 10.85 MB / 482.8 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.3752, allocations: 147.2 kB / 483 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.3753, allocations: 36 kB / 483 MB, free: 2.645 MB / 382.1 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.0005963/0.3759, allocations: 269.6 kB / 483.3 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.3761, allocations: 103.3 kB / 483.4 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.3763, allocations: 112.8 kB / 483.5 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3763, allocations: 11.94 kB / 483.5 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.3763, allocations: 8 kB / 483.5 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.3763, allocations: 3.984 kB / 483.5 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005396/0.3817, allocations: 2.448 MB / 485.9 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3817, allocations: 0 / 485.9 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.3823, allocations: 119.9 kB / 486.1 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.3837, allocations: 428.8 kB / 486.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.3837, allocations: 24 kB / 486.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/0.3975, allocations: 10.9 MB / 497.4 MB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3975, allocations: 4.062 kB / 497.4 MB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004944/0.4024, allocations: 1.933 MB / 499.3 MB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.4028, allocations: 192.3 kB / 499.5 MB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.4029, allocations: 20 kB / 499.5 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/0.4037, allocations: 103.8 kB / 499.6 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.4039, allocations: 64.42 kB / 499.7 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.4039, allocations: 27.98 kB / 499.7 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007911/0.4047, allocations: 0.5459 MB / 0.4886 GB, free: 352 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4047, allocations: 0 / 0.4886 GB, free: 352 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001318/0.406, allocations: 359.3 kB / 0.4889 GB, free: 15.99 MB / 414.1 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.0002185/0.4063, allocations: 127.2 kB / 0.489 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006062/0.4123, allocations: 1.963 MB / 0.4909 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4123, allocations: 0 / 0.4909 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.4141, allocations: 1.136 MB / 0.492 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.4154, allocations: 216.6 kB / 0.4923 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.4204, allocations: 2.363 MB / 0.4946 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.4211, allocations: 1.078 MB / 0.4956 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.4213, allocations: 63.44 kB / 0.4957 GB, free: 8.875 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4213, allocations: 0 / 0.4957 GB, free: 8.875 MB / 414.1 MB Notification: Performance of Templates: time 0.2822/0.7036, allocations: 43.2 MB / 0.5379 GB, free: 103.9 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.986215313896537]