Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.001632/0.001632, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001799/0.001799, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.43/1.43, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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: 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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 47.92 kB / 371.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2726, allocations: 52.17 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00957/0.2822, allocations: 7.94 MB / 431.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00413/0.2863, allocations: 1.874 MB / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008949/0.2872, allocations: 31.81 kB / 433.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.2878, allocations: 237.7 kB / 434 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.2889, allocations: 456.2 kB / 434.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.2898, allocations: 0.4955 MB / 434.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00217/0.292, allocations: 1.802 MB / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007732/0.2928, allocations: 444.3 kB / 437.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008397/0.2936, allocations: 0.6501 MB / 437.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008942/0.2945, allocations: 0.7195 MB / 438.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.2947, allocations: 180 kB / 438.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.295, allocations: 180 kB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.2953, allocations: 362.7 kB / 439.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007477/0.2961, allocations: 0.7737 MB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.2982, allocations: 2.056 MB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2982, allocations: 0 / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2982, allocations: 0 / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.2983, allocations: 0 / 442.1 MB, free: 12.45 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.003569/0.3018, allocations: 1.755 MB / 443.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3019, allocations: 8.031 kB / 443.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.3021, allocations: 164 kB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.3034, allocations: 0.6932 MB / 444.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.826e-05/0.3034, allocations: 102.3 kB / 444.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.3036, allocations: 116 kB / 444.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/0.3062, allocations: 1.309 MB / 446.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.3062, allocations: 3.938 kB / 446.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.3063, allocations: 52 kB / 446.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.3064, allocations: 32 kB / 446.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.309, allocations: 1.118 MB / 447.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00856/0.3176, allocations: 4.863 MB / 452.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.32, allocations: 0.9984 MB / 453.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.3212, allocations: 494.1 kB / 453.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/0.3213, allocations: 8.656 kB / 453.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.3213, allocations: 47.16 kB / 453.8 MB, free: 328 kB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.405e-06/0.3213, allocations: 0 / 453.8 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008752/0.3301, allocations: 2.473 MB / 456.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.3301, allocations: 89.7 kB / 456.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.3314, allocations: 0.8136 MB / 457.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.061e-05/0.3315, allocations: 41.7 kB / 457.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.3319, allocations: 0.6092 MB / 457.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.3322, allocations: 289.5 kB / 458.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.3325, allocations: 174.6 kB / 458.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3327, allocations: 345.9 kB / 458.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009563/0.3336, allocations: 365.8 kB / 459 MB, free: 11.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.3348, allocations: 0.5856 MB / 459.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.3369, allocations: 0.9521 MB / 460.5 MB, free: 9.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.3369, allocations: 4 kB / 460.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003358/0.3402, allocations: 1.351 MB / 461.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3403, allocations: 15.47 kB / 461.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.3403, allocations: 11.94 kB / 461.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008082/0.3411, allocations: 218.4 kB / 462.1 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/0.3448, allocations: 0.8311 MB / 462.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/0.3599, allocations: 10.24 MB / 473.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.361, allocations: 151.2 kB / 473.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/0.3611, allocations: 32 kB / 473.4 MB, free: 11.8 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.0005635/0.3616, allocations: 281.5 kB / 473.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.3618, allocations: 107.4 kB / 473.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.362, allocations: 104.8 kB / 473.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.3621, allocations: 12 kB / 473.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.3621, allocations: 4 kB / 473.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3621, allocations: 3.984 kB / 473.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/0.3677, allocations: 2.418 MB / 476.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.3677, allocations: 0 / 476.3 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.3683, allocations: 119.9 kB / 476.4 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.3698, allocations: 424.8 kB / 476.8 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/0.3698, allocations: 24 kB / 476.8 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.3839, allocations: 10.28 MB / 487.1 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3839, allocations: 0 / 487.1 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/0.389, allocations: 1.937 MB / 489.1 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.3894, allocations: 115.2 kB / 489.2 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.3895, allocations: 16 kB / 489.2 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008043/0.3903, allocations: 104.2 kB / 489.3 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.3905, allocations: 72.42 kB / 489.4 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/0.3905, allocations: 27.98 kB / 489.4 MB, free: 10.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007922/0.3913, allocations: 0.5459 MB / 489.9 MB, free: 10.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3913, allocations: 0 / 489.9 MB, free: 10.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001328/0.3926, allocations: 363.2 kB / 490.3 MB, free: 10.05 MB / 398.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.0001944/0.3928, allocations: 131.8 kB / 490.4 MB, free: 9.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006109/0.399, allocations: 1.952 MB / 492.4 MB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.399, allocations: 0 / 492.4 MB, free: 7.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.4008, allocations: 1.129 MB / 493.5 MB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.402, allocations: 201.5 kB / 493.7 MB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.4071, allocations: 2.374 MB / 496.1 MB, free: 4.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007817/0.4079, allocations: 1.078 MB / 497.1 MB, free: 2.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.4081, allocations: 63.44 kB / 497.2 MB, free: 2.93 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4081, allocations: 0 / 497.2 MB, free: 2.93 MB / 398.1 MB Notification: Performance of Templates: time 0.04841/0.4565, allocations: 43.19 MB / 0.5277 GB, free: 7.734 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.003268277971074]