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.001337/0.001337, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.001375/0.001375, allocations: 150.2 kB / 24.49 MB, free: 3.723 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.413/1.413, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.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.001539/0.001539, allocations: 50.92 kB / 319.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.0945, allocations: 52.17 MB / 371.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008623/0.1031, allocations: 6.853 MB / 378.5 MB, free: 428 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00395/0.1071, allocations: 1.851 MB / 380.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008463/0.1079, allocations: 31.81 kB / 380.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.1085, allocations: 233.7 kB / 380.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009843/0.1095, allocations: 460.2 kB / 381 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1105, allocations: 0.4994 MB / 381.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.1125, allocations: 1.798 MB / 383.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006801/0.1132, allocations: 412.3 kB / 383.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007506/0.1139, allocations: 0.654 MB / 384.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007814/0.1147, allocations: 0.6295 MB / 385 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.1149, allocations: 176 kB / 385.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.1152, allocations: 180 kB / 385.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.1155, allocations: 358.8 kB / 385.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000654/0.1161, allocations: 0.6339 MB / 386.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.1182, allocations: 2.07 MB / 388.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1182, allocations: 0 / 388.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1182, allocations: 0 / 388.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.1182, allocations: 0 / 388.4 MB, free: 6.414 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.003771/0.122, allocations: 1.755 MB / 390.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.122, allocations: 12.92 kB / 390.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.1223, allocations: 160 kB / 390.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.1235, allocations: 0.6894 MB / 391 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.39e-05/0.1236, allocations: 94.39 kB / 391.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.1238, allocations: 120 kB / 391.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.1267, allocations: 1.639 MB / 392.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.1267, allocations: 0 / 392.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.1268, allocations: 52 kB / 392.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.1268, allocations: 35.94 kB / 393 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.1295, allocations: 1.114 MB / 394.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008889/0.1384, allocations: 4.245 MB / 398.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.141, allocations: 0.9951 MB / 399.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.1422, allocations: 494.4 kB / 399.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.1423, allocations: 8.656 kB / 399.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.1423, allocations: 47.31 kB / 399.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.465e-06/0.1423, allocations: 0 / 399.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.009488/0.1518, allocations: 2.465 MB / 402.3 MB, free: 8.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.1519, allocations: 93.7 kB / 402.4 MB, free: 7.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.1531, allocations: 0.7545 MB / 403.2 MB, free: 7.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.92e-05/0.1531, allocations: 45.64 kB / 403.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005866/0.1537, allocations: 0.6053 MB / 403.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.154, allocations: 293.5 kB / 404.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.1543, allocations: 170.6 kB / 404.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.1545, allocations: 394.7 kB / 404.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009755/0.1555, allocations: 369.8 kB / 405 MB, free: 5.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.1566, allocations: 0.5777 MB / 405.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.1588, allocations: 0.956 MB / 406.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.1588, allocations: 3.938 kB / 406.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003498/0.1623, allocations: 1.346 MB / 407.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.1623, allocations: 11.94 kB / 407.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.1624, allocations: 8 kB / 407.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008655/0.1632, allocations: 222.7 kB / 408.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004007/0.1672, allocations: 0.8311 MB / 409 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/0.1822, allocations: 10.06 MB / 419 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.1833, allocations: 135.3 kB / 419.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/0.1834, allocations: 39.98 kB / 419.2 MB, free: 6.309 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.0005684/0.184, allocations: 277.5 kB / 419.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.1842, allocations: 99.39 kB / 419.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.1844, allocations: 100.1 kB / 419.7 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1844, allocations: 8 kB / 419.7 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.1844, allocations: 4 kB / 419.7 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.1844, allocations: 7.922 kB / 419.7 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/0.1898, allocations: 2.138 MB / 421.8 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.1898, allocations: 4 kB / 421.8 MB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.1904, allocations: 119.9 kB / 421.9 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.1919, allocations: 424.8 kB / 422.4 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.1919, allocations: 12 kB / 422.4 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/0.2057, allocations: 10.08 MB / 432.4 MB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.2057, allocations: 11.88 kB / 432.5 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005248/0.211, allocations: 1.933 MB / 434.4 MB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.2113, allocations: 103.3 kB / 434.5 MB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.2114, allocations: 16 kB / 434.5 MB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007792/0.2122, allocations: 99.92 kB / 434.6 MB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.2123, allocations: 68.47 kB / 434.7 MB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.2124, allocations: 31.92 kB / 434.7 MB, free: 6.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007092/0.2131, allocations: 0.4951 MB / 435.2 MB, free: 5.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2131, allocations: 3.938 kB / 435.2 MB, free: 5.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00141/0.2145, allocations: 367.2 kB / 435.6 MB, free: 5.199 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.0002158/0.2147, allocations: 131.9 kB / 435.7 MB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006253/0.221, allocations: 1.948 MB / 437.6 MB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.221, allocations: 4 kB / 437.6 MB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.2228, allocations: 1.137 MB / 438.8 MB, free: 1.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.2239, allocations: 182.7 kB / 438.9 MB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.2287, allocations: 2.322 MB / 441.3 MB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.2293, allocations: 496 kB / 441.8 MB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003703/0.2296, allocations: 94.89 kB / 441.8 MB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.2298, allocations: 60.5 kB / 441.9 MB, free: 14.63 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2298, allocations: 0 / 441.9 MB, free: 14.63 MB / 414.1 MB Notification: Performance of Templates: time 0.02518/0.255, allocations: 13.34 MB / 455.2 MB, free: 1.484 MB / 414.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 -s ida -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: 4.9149789289804175]