Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00157/0.00157, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001688/0.001688, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 59.91 kB / 374.6 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1058, allocations: 53.32 MB / 427.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.1924/0.2982, allocations: 7.909 MB / 435.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.3014, allocations: 1.904 MB / 437.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005854/0.3019, allocations: 29.94 kB / 437.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004217/0.3024, allocations: 237.8 kB / 438 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007209/0.3031, allocations: 455.8 kB / 438.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.3039, allocations: 0.4908 MB / 438.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.3055, allocations: 1.799 MB / 440.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000623/0.3062, allocations: 441.9 kB / 441.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.3069, allocations: 0.6408 MB / 441.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007748/0.3077, allocations: 0.7158 MB / 442.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.3079, allocations: 183.2 kB / 442.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.3082, allocations: 178.8 kB / 442.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.3085, allocations: 353.7 kB / 443.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005929/0.309, allocations: 0.775 MB / 444 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.311, allocations: 2.054 MB / 446 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.311, allocations: 4.5 kB / 446 MB, free: 2.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.311, allocations: 0 / 446 MB, free: 2.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.158e-05/0.3111, allocations: 0.5625 kB / 446 MB, free: 2.715 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.003336/0.3144, allocations: 1.827 MB / 447.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3144, allocations: 9.25 kB / 447.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.3147, allocations: 167.7 kB / 448 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.3157, allocations: 0.7617 MB / 448.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.3158, allocations: 97.48 kB / 448.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.316, allocations: 119.6 kB / 449 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.3183, allocations: 1.317 MB / 450.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.3184, allocations: 1.5 kB / 450.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.3185, allocations: 52.34 kB / 450.4 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.3185, allocations: 29.7 kB / 450.4 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.321, allocations: 1.119 MB / 451.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008336/0.3293, allocations: 4.968 MB / 456.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.3319, allocations: 1.144 MB / 457.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.333, allocations: 492.4 kB / 458.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.3331, allocations: 17.67 kB / 458.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.3331, allocations: 39.81 kB / 458.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.514e-06/0.3331, allocations: 0 / 458.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009277/0.3424, allocations: 2.935 MB / 461.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.3425, allocations: 86.92 kB / 461.2 MB, free: 10 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3437, allocations: 0.8014 MB / 462 MB, free: 9.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-05/0.3438, allocations: 50.98 kB / 462 MB, free: 9.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.3443, allocations: 0.6012 MB / 462.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.3446, allocations: 296 kB / 462.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.3448, allocations: 169.7 kB / 463.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.345, allocations: 345.6 kB / 463.4 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009465/0.3459, allocations: 371.1 kB / 463.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.347, allocations: 0.5805 MB / 464.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.3491, allocations: 0.9475 MB / 465.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.3491, allocations: 2.375 kB / 465.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003447/0.3525, allocations: 1.361 MB / 466.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3525, allocations: 7.656 kB / 466.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.3526, allocations: 10.16 kB / 466.7 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008455/0.3534, allocations: 219.8 kB / 466.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/0.3572, allocations: 0.8308 MB / 467.7 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.372, allocations: 10.84 MB / 478.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.3732, allocations: 147.6 kB / 478.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/0.3733, allocations: 36.88 kB / 478.8 MB, free: 11.91 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.0005452/0.3739, allocations: 280.6 kB / 479 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.3741, allocations: 110.2 kB / 479.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.3743, allocations: 108.2 kB / 479.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3743, allocations: 8.25 kB / 479.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.3743, allocations: 1.312 kB / 479.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.3743, allocations: 3.984 kB / 479.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005618/0.3799, allocations: 2.443 MB / 481.7 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.3799, allocations: 3.984 kB / 481.7 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.3805, allocations: 119.8 kB / 481.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.382, allocations: 432.5 kB / 482.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.3821, allocations: 16 kB / 482.3 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/0.3968, allocations: 10.9 MB / 493.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3968, allocations: 0 / 493.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005248/0.4021, allocations: 1.937 MB / 495.1 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/0.4025, allocations: 196.2 kB / 495.3 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.4026, allocations: 16 kB / 495.3 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008418/0.4035, allocations: 107.9 kB / 495.4 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.4036, allocations: 60.47 kB / 495.5 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.4037, allocations: 24 kB / 495.5 MB, free: 10.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008507/0.4045, allocations: 0.5498 MB / 496 MB, free: 10.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4045, allocations: 0 / 496 MB, free: 10.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001355/0.4059, allocations: 363.3 kB / 496.4 MB, free: 9.688 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.0002081/0.4061, allocations: 129.6 kB / 496.5 MB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00621/0.4123, allocations: 1.958 MB / 498.5 MB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4123, allocations: 0 / 498.5 MB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.4141, allocations: 1.134 MB / 499.6 MB, free: 6.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.4153, allocations: 210 kB / 499.8 MB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.4203, allocations: 2.366 MB / 0.4904 GB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/0.4211, allocations: 1.078 MB / 0.4915 GB, free: 2.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.4213, allocations: 63.44 kB / 0.4915 GB, free: 2.574 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4213, allocations: 0 / 0.4915 GB, free: 2.574 MB / 398.1 MB Notification: Performance of Templates: time 0.04699/0.4683, allocations: 43.2 MB / 0.5337 GB, free: 7.375 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.046658102888614]