Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.0009457/0.0009457, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009736/0.0009736, allocations: 161.8 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.8969/0.8969, allocations: 177 MB / 205.2 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] 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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.348e-06/1.043e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00271/0.00272, allocations: 3.18 MB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003923, allocations: 1.016 MB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.004031, allocations: 4 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.004155, allocations: 67.36 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.004407, allocations: 134.8 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.004665, allocations: 159.5 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.004975, allocations: 0.4937 MB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.005111, allocations: 104.2 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.005377, allocations: 287.4 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.005524, allocations: 155.5 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.005564, allocations: 40 kB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.005666, allocations: 75.97 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.005716, allocations: 91.66 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.17e-05/0.005808, allocations: 151.6 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.006089, allocations: 362.6 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.006091, allocations: 0 / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006091, allocations: 0 / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.006096, allocations: 0 / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006547/0.00675, allocations: 0.6397 MB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.006777, allocations: 15.98 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.006895, allocations: 68.88 kB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.007091, allocations: 216.6 kB / 280.6 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.007107, allocations: 25.03 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.007149, allocations: 36.38 kB / 280.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.007427, allocations: 369 kB / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.007436, allocations: 4.172 kB / 281 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.007455, allocations: 12.38 kB / 281 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.007462, allocations: 15.94 kB / 281.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.007566, allocations: 88.48 kB / 281.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.008461, allocations: 0.8113 MB / 282 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.008662, allocations: 151.1 kB / 282.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.008839, allocations: 145.2 kB / 282.3 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.008963, allocations: 64.17 kB / 282.3 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.008982, allocations: 38.73 kB / 282.4 MB, free: 8.047 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.008984, allocations: 0 / 282.4 MB, free: 8.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004647/0.009448, allocations: 272.8 kB / 282.6 MB, free: 7.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.009477, allocations: 81.11 kB / 282.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.009618, allocations: 270.9 kB / 283 MB, free: 7.398 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.009637, allocations: 33.7 kB / 283 MB, free: 7.359 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.009707, allocations: 192.8 kB / 283.2 MB, free: 7.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.009755, allocations: 115 kB / 283.3 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.00982, allocations: 66.03 kB / 283.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.009891, allocations: 346.8 kB / 283.7 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.009947, allocations: 40.72 kB / 283.7 MB, free: 6.594 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.01003, allocations: 143.4 kB / 283.9 MB, free: 6.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.01018, allocations: 179.6 kB / 284.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01018, allocations: 0 / 284.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00025/0.01043, allocations: 258 kB / 284.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.01044, allocations: 11.28 kB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.01044, allocations: 0 / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.01059, allocations: 72.69 kB / 284.4 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.01074, allocations: 67.91 kB / 284.5 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008177/0.01156, allocations: 1.547 MB / 286 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.932e-05/0.01166, allocations: 35.77 kB / 286 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.01167, allocations: 12 kB / 286 MB, free: 4.125 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.979e-05/0.01175, allocations: 133.7 kB / 286.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.01178, allocations: 27.97 kB / 286.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.01198, allocations: 194.3 kB / 286.4 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01198, allocations: 4 kB / 286.4 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.01198, allocations: 0 / 286.4 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01199, allocations: 3.984 kB / 286.4 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.01217, allocations: 197.6 kB / 286.6 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01217, allocations: 0 / 286.6 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.01232, allocations: 51.91 kB / 286.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.747e-05/0.01242, allocations: 48.83 kB / 286.7 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01244, allocations: 11.92 kB / 286.7 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000206/0.01264, allocations: 0.5602 MB / 287.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.01264, allocations: 0 / 287.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.0129, allocations: 333.4 kB / 287.6 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.01292, allocations: 27.75 kB / 287.6 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.01295, allocations: 4 kB / 287.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01305, allocations: 19.98 kB / 287.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.01308, allocations: 15.91 kB / 287.7 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.0131, allocations: 19.92 kB / 287.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.044e-05/0.01318, allocations: 104.7 kB / 287.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01318, allocations: 0 / 287.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.01343, allocations: 107.8 kB / 287.9 MB, free: 2.199 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001237/0.01355, allocations: 108.3 kB / 288 MB, free: 2.082 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.01387, allocations: 294.2 kB / 288.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.01388, allocations: 0 / 288.3 MB, free: 1.781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.01399, allocations: 96.62 kB / 288.4 MB, free: 1.684 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.01416, allocations: 36.64 kB / 288.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.01501, allocations: 0.6681 MB / 289.1 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.389e-05/0.01506, allocations: 100.5 kB / 289.2 MB, free: 0.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.723e-05/0.01515, allocations: 38.95 kB / 289.2 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.01527, allocations: 107.3 kB / 289.3 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01527, allocations: 0 / 289.3 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of Templates: time 0.005401/0.02067, allocations: 3.843 MB / 293.2 MB, free: 12.89 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.669893652200699]