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.00125/0.00125, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001372/0.001372, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.001935/0.001935, allocations: 71.78 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2205, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009475/0.23, allocations: 7.928 MB / 440 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.2336, allocations: 1.909 MB / 441.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005205/0.2341, allocations: 27.94 kB / 442 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.2346, allocations: 241.7 kB / 442.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008412/0.2355, allocations: 456.2 kB / 442.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008234/0.2363, allocations: 0.4955 MB / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.2381, allocations: 1.798 MB / 444.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006739/0.2388, allocations: 439.9 kB / 445.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006942/0.2395, allocations: 0.6461 MB / 446 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008416/0.2403, allocations: 0.7117 MB / 446.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.2406, allocations: 176 kB / 446.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.2408, allocations: 180 kB / 447.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.2411, allocations: 362.8 kB / 447.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007235/0.2418, allocations: 0.7659 MB / 448.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.2439, allocations: 2.06 MB / 450.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2439, allocations: 0 / 450.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2439, allocations: 0 / 450.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.2439, allocations: 4 kB / 450.3 MB, free: 5.121 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.003558/0.2475, allocations: 1.823 MB / 452.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2475, allocations: 8.031 kB / 452.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.2477, allocations: 164 kB / 452.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.2489, allocations: 0.7653 MB / 453 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.249, allocations: 94.39 kB / 453.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.2491, allocations: 124 kB / 453.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.2517, allocations: 1.309 MB / 454.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.2517, allocations: 3.938 kB / 454.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.2518, allocations: 52 kB / 454.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.2518, allocations: 32 kB / 454.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.2545, allocations: 1.118 MB / 455.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008274/0.2627, allocations: 4.974 MB / 460.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002657/0.2654, allocations: 1.149 MB / 461.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.2666, allocations: 486.1 kB / 462.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.2666, allocations: 8.656 kB / 462.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.2667, allocations: 47.22 kB / 462.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.885e-06/0.2667, allocations: 4 kB / 462.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009449/0.2761, allocations: 2.929 MB / 465.3 MB, free: 5.469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.2762, allocations: 89.77 kB / 465.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.2773, allocations: 0.8059 MB / 466.2 MB, free: 4.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.2774, allocations: 45.7 kB / 466.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/0.2779, allocations: 0.6053 MB / 466.9 MB, free: 3.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.2781, allocations: 289.5 kB / 467.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.2784, allocations: 170.6 kB / 467.3 MB, free: 3.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2785, allocations: 341.9 kB / 467.7 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009783/0.2795, allocations: 365.8 kB / 468 MB, free: 2.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.2807, allocations: 0.5894 MB / 468.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.2827, allocations: 0.952 MB / 469.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2827, allocations: 0 / 469.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003419/0.2861, allocations: 1.362 MB / 470.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.2861, allocations: 14.91 kB / 470.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.2862, allocations: 8 kB / 470.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008419/0.287, allocations: 222.7 kB / 471.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/0.2909, allocations: 0.8349 MB / 472 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/0.3066, allocations: 10.84 MB / 482.8 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.3076, allocations: 147.1 kB / 483 MB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.94e-05/0.3076, allocations: 40 kB / 483 MB, free: 2.703 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.0004908/0.3081, allocations: 273.7 kB / 483.3 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.3083, allocations: 107.3 kB / 483.4 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.3085, allocations: 104.9 kB / 483.5 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.3085, allocations: 7.922 kB / 483.5 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3085, allocations: 0 / 483.5 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.3088, allocations: 196.2 kB / 483.7 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.3089, allocations: 23.98 kB / 483.7 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/0.3097, allocations: 99.92 kB / 483.8 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3098, allocations: 64.55 kB / 483.9 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005158/0.315, allocations: 1.633 MB / 485.5 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003101/0.3181, allocations: 1.487 MB / 487 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008551/0.319, allocations: 333 kB / 487.3 MB, free: 14.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007726/0.3197, allocations: 0.5537 MB / 487.9 MB, free: 13.76 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.3197, allocations: 0 / 487.9 MB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006133/0.3259, allocations: 1.742 MB / 489.6 MB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 0.00404/0.3299, allocations: 2.672 MB / 492.3 MB, free: 9.258 MB / 398.1 MB Notification: Performance of Templates: time 0.02771/0.3576, allocations: 15.01 MB / 0.4954 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 660] 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: 4.628424834925681]