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.001382/0.001382, allocations: 89.53 kB / 20.69 MB, free: 1.02 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.001922/0.001922, allocations: 158 kB / 23.95 MB, free: 4.152 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.577/1.577, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.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 2.154e-06/2.154e-06, allocations: 0 / 325.1 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.761e-05, allocations: 2.281 kB / 325.1 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.0106/0.01063, allocations: 6.974 MB / 332 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005054/0.01568, allocations: 1.794 MB / 333.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.01755, allocations: 37.44 kB / 333.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.01864, allocations: 239 kB / 334.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.021, allocations: 0.4896 MB / 334.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.02218, allocations: 422.4 kB / 335 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002742/0.02492, allocations: 1.863 MB / 336.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008585/0.02578, allocations: 409.7 kB / 337.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.02732, allocations: 0.9941 MB / 338.3 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008914/0.02821, allocations: 0.5327 MB / 338.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000288/0.0285, allocations: 185.1 kB / 339 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.02885, allocations: 181.8 kB / 339.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.02923, allocations: 366 kB / 339.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007707/0.03, allocations: 0.5542 MB / 340.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.0325, allocations: 2.134 MB / 342.2 MB, free: 3.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.0325, allocations: 0 / 342.2 MB, free: 3.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.0325, allocations: 0 / 342.2 MB, free: 3.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.347e-05/0.03254, allocations: 4 kB / 342.2 MB, free: 3.848 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003227/0.03576, allocations: 1.67 MB / 343.9 MB, free: 2.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.03581, allocations: 12.03 kB / 343.9 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.03609, allocations: 175.8 kB / 344.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.03742, allocations: 0.7184 MB / 344.8 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.534e-05/0.03751, allocations: 103 kB / 344.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.03771, allocations: 135.9 kB / 345 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/0.04043, allocations: 1.719 MB / 346.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.04046, allocations: 4 kB / 346.7 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.04058, allocations: 56 kB / 346.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.04061, allocations: 36 kB / 346.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.04275, allocations: 1.001 MB / 347.8 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008332/0.05108, allocations: 3.827 MB / 351.7 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.05277, allocations: 0.8295 MB / 352.5 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009081/0.05368, allocations: 435.5 kB / 352.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.05373, allocations: 13 kB / 352.9 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.05379, allocations: 43.56 kB / 353 MB, free: 8.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=94): time 4.709e-06/0.0538, allocations: 0 / 353 MB, free: 8.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=94): time 0.005608/0.0594, allocations: 1.715 MB / 354.7 MB, free: 6.934 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.05947, allocations: 90.11 kB / 354.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.06067, allocations: 0.7506 MB / 355.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-05/0.06075, allocations: 45.64 kB / 355.6 MB, free: 6.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/0.06125, allocations: 0.6134 MB / 356.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.06159, allocations: 329.1 kB / 356.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.06189, allocations: 182.9 kB / 356.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.06214, allocations: 402.7 kB / 357.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/0.06278, allocations: 302.5 kB / 357.4 MB, free: 4.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008241/0.06361, allocations: 0.4986 MB / 357.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.06506, allocations: 0.8204 MB / 358.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.06506, allocations: 0 / 358.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003148/0.06821, allocations: 1.298 MB / 360 MB, free: 1.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.06823, allocations: 8 kB / 360 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.06824, allocations: 8.094 kB / 360 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.06981, allocations: 404.8 kB / 360.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.07057, allocations: 191.7 kB / 360.6 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.08467, allocations: 10 MB / 370.6 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008789/0.08555, allocations: 111.3 kB / 370.7 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.08563, allocations: 40 kB / 370.7 MB, free: 5.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000582/0.08621, allocations: 289.9 kB / 371 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.08639, allocations: 107.3 kB / 371.1 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.0866, allocations: 109.4 kB / 371.2 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.08661, allocations: 8 kB / 371.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.08662, allocations: 3.938 kB / 371.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.08663, allocations: 3.984 kB / 371.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004071/0.0907, allocations: 1.924 MB / 373.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.0907, allocations: 0 / 373.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006455/0.09135, allocations: 127.8 kB / 373.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.09284, allocations: 392.8 kB / 373.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.0929, allocations: 19.94 kB / 373.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/0.1058, allocations: 10.02 MB / 383.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.1058, allocations: 7.969 kB / 383.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003664/0.1094, allocations: 1.624 MB / 385.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.1098, allocations: 115.2 kB / 385.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.1099, allocations: 16 kB / 385.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/0.1107, allocations: 87.92 kB / 385.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.111, allocations: 92.78 kB / 385.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.1111, allocations: 28 kB / 385.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007774/0.1119, allocations: 0.5029 MB / 386.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1119, allocations: 0 / 386.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001583/0.1134, allocations: 399.1 kB / 386.6 MB, free: 5.367 MB / 350.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: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002911/0.1137, allocations: 135.1 kB / 386.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002728/0.1165, allocations: 1.512 MB / 388.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1165, allocations: 0 / 388.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.1183, allocations: 1.171 MB / 389.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.1197, allocations: 205.6 kB / 389.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.1245, allocations: 2.161 MB / 391.7 MB, free: 0 / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008239/0.1253, allocations: 0.5135 MB / 392.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004932/0.1258, allocations: 95.33 kB / 392.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.126, allocations: 60.5 kB / 392.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 9.31e-07/0.126, allocations: 0 / 392.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Templates: time 0.03022/0.1562, allocations: 14.91 MB / 407.3 MB, free: 0.5859 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.306537240743637]