Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 210 kB / 24.47 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 258.2 MB, free: 7.777 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 47.92 kB / 379 MB, free: 2.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2455, allocations: 53.37 MB / 432.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009166/0.2547, allocations: 6.864 MB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003878/0.2586, allocations: 1.87 MB / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.2592, allocations: 35.81 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005084/0.2597, allocations: 229.7 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009155/0.2606, allocations: 460.2 kB / 441.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009139/0.2615, allocations: 0.5072 MB / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002021/0.2635, allocations: 1.798 MB / 444.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006791/0.2642, allocations: 404.3 kB / 444.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000778/0.265, allocations: 0.6579 MB / 445.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007769/0.2658, allocations: 0.6179 MB / 445.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.266, allocations: 180 kB / 446 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.2663, allocations: 180 kB / 446.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.2666, allocations: 362.7 kB / 446.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006522/0.2673, allocations: 0.6339 MB / 447.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.2693, allocations: 2.07 MB / 449.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2693, allocations: 0 / 449.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2693, allocations: 0 / 449.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.2694, allocations: 0 / 449.2 MB, free: 5.75 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.003467/0.2728, allocations: 1.752 MB / 451 MB, free: 3.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2729, allocations: 8.031 kB / 451 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.2731, allocations: 168 kB / 451.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.2744, allocations: 0.6971 MB / 451.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/0.2745, allocations: 98.33 kB / 451.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.2747, allocations: 120 kB / 452 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/0.2775, allocations: 1.635 MB / 453.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.2775, allocations: 7.875 kB / 453.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.2776, allocations: 52 kB / 453.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.2776, allocations: 32 kB / 453.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.2803, allocations: 1.118 MB / 454.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008301/0.2886, allocations: 4.237 MB / 459.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/0.2911, allocations: 0.9914 MB / 460.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.2923, allocations: 486.1 kB / 460.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.2924, allocations: 8.656 kB / 460.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/0.2924, allocations: 55.14 kB / 460.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.756e-06/0.2924, allocations: 0 / 460.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.00886/0.3013, allocations: 2.469 MB / 463.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.3014, allocations: 89.7 kB / 463.2 MB, free: 7.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.3026, allocations: 0.7467 MB / 464 MB, free: 6.531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.08e-05/0.3027, allocations: 41.7 kB / 464 MB, free: 6.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.3032, allocations: 0.6092 MB / 464.6 MB, free: 5.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.3034, allocations: 293.5 kB / 464.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.3037, allocations: 166.6 kB / 465 MB, free: 5.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.304, allocations: 394.7 kB / 465.4 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009592/0.3049, allocations: 373.8 kB / 465.8 MB, free: 4.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.3061, allocations: 0.5823 MB / 466.4 MB, free: 3.977 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.3081, allocations: 0.9482 MB / 467.3 MB, free: 2.941 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.3081, allocations: 3.938 kB / 467.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003371/0.3115, allocations: 1.343 MB / 468.7 MB, free: 1.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3115, allocations: 11.94 kB / 468.7 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3115, allocations: 8 kB / 468.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008037/0.3123, allocations: 234.7 kB / 468.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003688/0.316, allocations: 0.8311 MB / 469.8 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/0.335, allocations: 10.05 MB / 479.8 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.3363, allocations: 135.2 kB / 479.9 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.3364, allocations: 40 kB / 480 MB, free: 5.66 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.0006764/0.3371, allocations: 285.8 kB / 480.3 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.3373, allocations: 99.33 kB / 480.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.3376, allocations: 104.1 kB / 480.5 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3376, allocations: 8 kB / 480.5 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.3376, allocations: 0 / 480.5 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3376, allocations: 3.984 kB / 480.5 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007433/0.3451, allocations: 2.142 MB / 482.6 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.3451, allocations: 0 / 482.6 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.3459, allocations: 119.9 kB / 482.7 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.3478, allocations: 424.8 kB / 483.1 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.382e-05/0.3479, allocations: 19.98 kB / 483.2 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/0.3657, allocations: 10.09 MB / 493.2 MB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3657, allocations: 3.938 kB / 493.3 MB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00493/0.3706, allocations: 1.933 MB / 495.2 MB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.3709, allocations: 103.3 kB / 495.3 MB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.613e-05/0.371, allocations: 16 kB / 495.3 MB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007548/0.3718, allocations: 99.92 kB / 495.4 MB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.3719, allocations: 64.47 kB / 495.5 MB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.372, allocations: 31.92 kB / 495.5 MB, free: 5.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006836/0.3727, allocations: 0.4951 MB / 496 MB, free: 4.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3727, allocations: 8 kB / 496 MB, free: 4.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001299/0.374, allocations: 371.1 kB / 496.4 MB, free: 4.531 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.0002119/0.3742, allocations: 131 kB / 496.5 MB, free: 4.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00617/0.3803, allocations: 1.948 MB / 498.4 MB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.3803, allocations: 1.062 kB / 498.4 MB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.3822, allocations: 1.144 MB / 499.6 MB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.3833, allocations: 177.4 kB / 499.8 MB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/0.3883, allocations: 2.363 MB / 0.4903 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.3888, allocations: 495.9 kB / 0.4908 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.3891, allocations: 63.44 kB / 0.4909 GB, free: 14.03 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3891, allocations: 0 / 0.4909 GB, free: 14.03 MB / 414.1 MB Notification: Performance of Templates: time 0.04866/0.4377, allocations: 43.21 MB / 0.5331 GB, free: 2.809 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.075194223318249]